:-(
Hi I'm trying to use vb to open a network share. Basically A form pops up, there is a text box, you type the users name in then, click on the button below.
For the button this is the coding I have been trying to get to work!!!
Private Sub Command2_Click()
Dim Path As String
Path = "\\xx3\" + Text1.Text
Set WshNetwork = Wscript.CreateObject("Wscript.Network"
WshNetwork.MapNetworkDrive "Z:", Path
End Sub
Anyone see where I have gone wrong???? :-( :-(
Hi I'm trying to use vb to open a network share. Basically A form pops up, there is a text box, you type the users name in then, click on the button below.
For the button this is the coding I have been trying to get to work!!!
Private Sub Command2_Click()
Dim Path As String
Path = "\\xx3\" + Text1.Text
Set WshNetwork = Wscript.CreateObject("Wscript.Network"
WshNetwork.MapNetworkDrive "Z:", Path
End Sub
Anyone see where I have gone wrong???? :-( :-(