Search

You searched for the word(s): userid:640585

Matching Posts

  • Re: Skip to next directory

    Do Until ServerList.Items.Count = 0 statustxt.Text = "Connecting to the Server..." '-----------------------------------------Get first item from serverlist box and enter into path dirPath = ServerList.Items(0) 'get first item in listbox TextBox1.Text = dirPath System.Windows.Forms.Application.DoEvents() 'Refresh the window each time a volume is written statustxt.Text = "Scanning For Requested File Information" '-----------------------get all files from path Try
    Posted to Getting Started (Forum) by dcjohnston on 12/21/2009
  • Skip to next directory

    I am using IO.DirectoryInfo to scan directories for specific file information. However, some directories are Read Only due to an ownership error attributes of the file. If the directory gets scanned and it finds a defective directory I trap the error which writes the path to a file. The problem is that I want to scan the next folder in the path I am scanning. When it finds the error it cant scan that path any more. Any Ideas? Try Dim Directory As New IO.DirectoryInfo("" & dirPath &
    Posted to Getting Started (Forum) by dcjohnston on 8/20/2009
  • Re: Skip to next directory

    The problem is the directory attributes.readonly are not obtainable since the directory is defective, which throws the error. I was thinking to put something in the CATCH that could send it to the next folder past the defective one but cant wrap my .net brain on how to do it. I have the defective directory path but have no idea what is next in line past it.
    Posted to Getting Started (Forum) by dcjohnston on 8/20/2009
  • Re: Skip to next directory

    By Error I mean that their is a defective AD ownership that causes the file to be unmanageable until you manually go in and change ownership to the administrator. Once its changed then you can disable the read only attribute. I like the "Continue Do" but it just loops trying to access the same defective directory. How do I get the next directory and have it skip the current one?
    Posted to Getting Started (Forum) by dcjohnston on 8/20/2009
  • Re: VS 2005 Datagrid and MS Access

    Thanks Ramir, However, I am not sure where to find the connection string. Well let me restate, I am using the query builder in VS2005 and under the connectionstrings tag in the web.config there is nothing under it (see below.) The app works fine locally. The timeout without error may be a problem but of course locally it does not take that long. Correct me if I am wrong but the app runs on the server as ASPNET and thus ASPNET should have access to see the database correct? Given that, the only issue
  • Re: VS 2005 Datagrid and MS Access

    You are correct Hans, I did not see your post, thanks for the reply, I checked my permissions and added the IUSR account and also the ASPNET account. Still not working. To test this problem I created a basic web project with a simple database with 10 lines of data. ( to test timing out) I created a website project and dragged a gridview to the form. Added the access database to the APP_Data folder.and selected two fields from the table (tblApps) in the database. Ran it locally and the grid loaded
  • VS 2005 Datagrid and MS Access

    OK, this should be simple, I have written a very simple web page with a gridview that uses an access database. This page works fine on the workstation that I am working on, but if I publish it to the ASP.NET 2.0 supported IIS webserver the gridview will not load the data. No errors, it just times out after 90 seconds or so. I have the Access database in the App_data folder and all rights are good on the server. Is it possible the Access database is invisible to the form on the client workstation
  • running pstools in asp.net page...

    OK, I am doing some strange things here and maybe I can get some input. What I am doing is trying to get the asp.net website to execute client side apps using psexec. All is well using the code below. The psexec utility runs on the webserver, calls to the client over the network, and executes the .vbs script. The issue is that if the vbscript that I call takes more than a second or two to run on the client, the psexec utilty hangs. If the vbscript does something really quick, like host name this
    Posted to Component Discussions (Forum) by dcjohnston on 7/23/2008
  • Re: Use of a variable in a line of code.

    Whoo Hoo. Got it. Added these lines <% Dim WsName%> <% WsName = TextBox1.Text%> and Bingo. Thanks guys for the assistance. Dave
    Posted to Getting Started (Forum) by dcjohnston on 10/23/2006
  • Re: Use of a variable in a line of code.

    Ok making some progress here.... I make the change <PARAM NAME="Counter00001.Path" VALUE="\\<%= WSName %>\Memory\Pages/sec"> And the page wont load because it states that WSName is not declared? Do I have to declare this variable somewhere else?
    Posted to Getting Started (Forum) by dcjohnston on 10/23/2006
Page 1 of 2 (16 items) 1 2 Next >