Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

The code that i am using is :

 


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

database = File.Exists(locationd)

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

'continue with program.

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...