Re: File.Exists does not work on some machines
- From: "Brian Cryer" <brianc@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 15:53:56 +0100
"Bas" <Bas@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OenI2I4kFHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
> Yes file exists!
> (I even copied the whole folder from my Dev PC....to make sure)
>
> At the moment I'm logged in as Administrator
> This is a simple workstation "Standalone" in effect
>
> Tried the app on 3 machines in the office (peer-peer setup)
>
> My PC and Notebook BOTH have VStudio - work OK on both !
>
> The rest of the app works on ALL machines!
> although I'm having problems with Word and Excel objcets but thats another
> story
> (most likely I'm not disposing of all the objects I've created - which I
> could close ALL the objects created in a Sub Routine at one!!)
Can I assume that this is a desktop vb application and not a web-based one?
I only ask because a web-based one will run within a different account than
the one you are logged in using.
The only other suggestion I have is that you download FileMon from
SystemInternals (http://www.sysinternals.com/Utilities/Filemon.html), run it
on the machine giving you problems and look and see what it thinks you are
doing. That will capture all reads and writes on your system, it should trap
the scan of the directory when doing the File.Exists("c:\docs\myfile.txt")
and might give an indication of any issues, so it might give you another
angle on the problem.
Other than that, I'm out of ideas.
Brian.
www.cryer.co.uk/brian
.
- References:
- File.Exists does not work on some machines
- From: Bas
- Re: File.Exists does not work on some machines
- From: Brian Cryer
- Re: File.Exists does not work on some machines
- From: Bas
- File.Exists does not work on some machines
- Prev by Date: Re: string replacement - regex?
- Next by Date: RE: Stored Procedure
- Previous by thread: Re: File.Exists does not work on some machines
- Next by thread: Save .gif file as string
- Index(es):
Relevant Pages
|