the reason I needed this approach is that the administrator log on to their machine using a regular NTFS login user id but when they need to go to servers that they are the only one allowed to go to, they have to log on as a secondary ID to these servers, the secondary IDs are used only for this...
I did
WshNetwork.RemoveNetworkDrive("E", True, True)
and then I do
WshNetwork.MapNetworkDrive "E:", "\\SomeServer\SomeShare", false, txtUsername.Text.ToString, txtPassword.Text.ToString
I still get the error
"Multiple connections to a server or shared resource by the same user, using more...
Mark thanks for the reply, but I tried
WshNetwork.MapNetworkDrive("E:", "\\SomeServer\SomeShare", Ttrue, txtUsername.Text.ToString, txtPassword.Text.ToString)
as well
WshNetwork.MapNetworkDrive("E:", "\\SomeServer\SomeShare", False, txtUsername.Text.ToString, txtPassword.Text.ToString)
Same...
Hi
I’m trying to write a small utility that allows people to map to a remote drive without making the connection persistent.
So I use the code below in a window form
Dim WshNetwork As Object
WshNetwork = CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive("E:"...
Hi
I’m trying to write a small utility that allows people to map to a remote drive without making the connection persistent.
So I use the code below in a window form
Dim WshNetwork As Object
WshNetwork = CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive("E:"...
I am trying to write an LDAP query and I like to get all the users belonging to a certain group, my problem is that the group is too big and when it is big the result set comes back with an error.
I think the only way around it is to get all the users in this group with last name starting with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.