"Bas" <Bas@microsoft_forums.com> wrote in message
news:Oe**************@TK2MSFTNGP09.phx.gbl...
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