Netzwerk-Laufwerk mit VB verbinden Verfasst am: 23.11.2009, 08:00
Alright,
is there anyone who can help me with this:
Different users will use one PC and will run the same application. However, every user needs to be connected with his/her individual database before as the application needs to access it.
As far as I found out I will need to set up the login/password routine with visual basic and have to connect the network share with Wnetaddconnection2 using username and Password which were given in the login form.
After connection is established I want Visual Basic to launch the application which will access the users individual database in his/her share on that particular network.
When a user has done his/her work and closes the application I want Visual Basic to disconnect the network share as his database must not be accessed by anyone else.
So after disconnection the next user can sit down at the PC and use the same application while using his individual database which will then be connected through username/password/ wnetaddconnection2.