"George Lake" <g@lake.comschrieb:
>I had an app runing on W2K Pro and now that its on XP I cant find a file.
The code that is not working is:
If File.Exists("O:\DTX Import UMAR\AsTester.txt") Then
Where "O:\DTX Import UMAR\AsTester.txt" is a network path.
Any ideas why this is not working?
Documentation:
| *Return Value*
| 'true' if the caller has the required permissions and 'path'
| contains the name of an existing file; otherwise, 'false'. This
| method also returns 'false' if 'path' is a null reference
| ('Nothing' in Visual Basic) or a zero-length string. If the
| caller does not have sufficient permissions to read the specified
| file, no exception is thrown and the method returns 'false'
| regardless of the existence of 'path'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>