Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
Visual Basic 6.0 Help
why not shell a batch file with the net use commmand ? ex
Print #1, "net use" & " " & "Driveletter here" & " " & "share here"
Print #1, "pause"
Close #1```
```markup then use the shell execute to open it
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Form_Load()
ShellExecute Me.hwnd, vbNullString, App.Path & "/map.bat", vbNullString, App.Path, 1
end sub