Hi,
I cant seem to get this working, I have used VB6 Learning edition to create it and every time I run it, the line starting with "Set WshNetwork" needs to be debugged, this is the script below:
Private Sub Command2_Click()
Dim Path As String
Path = "\\xx3\" + Text1.Text
Set WshNetwork = Wscript.CreateObject("Wscript.Network"
WshNetwork.MapNetworkDrive "Z:", Path
End Sub
I dont have a clue why, anyone??????? James Mannion
IT Officer
James_m_is@hotmail.com
I cant seem to get this working, I have used VB6 Learning edition to create it and every time I run it, the line starting with "Set WshNetwork" needs to be debugged, this is the script below:
Private Sub Command2_Click()
Dim Path As String
Path = "\\xx3\" + Text1.Text
Set WshNetwork = Wscript.CreateObject("Wscript.Network"
WshNetwork.MapNetworkDrive "Z:", Path
End Sub
I dont have a clue why, anyone??????? James Mannion
IT Officer
James_m_is@hotmail.com