I need to open a password protected shared folder on a network to gain access to an Access 97 database. How do I open the folder and pass in the password?
one solution would be to map the network folder to an available drive letter. You could accomplish that using Windows OS commands:
System.Diagnostics.Process.Start("net.exe", "use K: \\Server\URI\path\here /USER: " )
Simply replace the username and password with the credentials you need and make sure the drive letter is available.
To disconnect you can call
System.Diagnostics.Process.Start("net.exe", "use /delete K:" )