Database in LAN shared folder
Posted on 2004-10-14
I want to access another PC in the Same LAN where there is a Share Folder and a AccessDatabase inside it.
The problem is when I try to connect to that PC from my VB code as
\\192.168.2.10\Share\DB.mdb it gives runtime error -2147467259(80004005). It says that the path is not valid or I am not connected to the server.
But if I go to run and type \\192.168.2.10 and give the username/passwrd at prompt
and again run my VB it is working!!!!!!!!.
So the Moral of the story is how can I give the LAN Pc's username and password and also the username and password for the shared folder.