File.Exists() on server

bluejaguar456

Well-known member
Joined
Aug 22, 2006
Messages
47
hey guys,

i am having a few problems with the file.exists() function.

everything works fine when the file i am checking is on the same computer but if i put the file on a network computer .g my lptop and check if it exists then the program freezes and goes into not responding.

can anyone help?

thanks
 
The code that i am using is :

Code:
locationd = "\\BEDROOMPC\All\RecruitmentLive!.mdb"

database = File.Exists(locationd)

If database = False Then
                msgbox("Not Database not available")
End If

continue with program.

Thanks
 
Back
Top