Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

map a nextwork drive

Status
Not open for further replies.

EscapeUK

Programmer
Jul 7, 2000
438
GB
Using vb 6 how do i map and unmap a network drive using vb
 
Hmmm... You could use a Shell Command...

Shell("NET USE... I forget the exact syntax") Craig, mailto:sander@cogeco.ca

Si hoc legere scis, nimis eruditionis habes
 
To connect:

Shell("net use f: \\server2\memos")

To disconnect:

Shell("net use f: \\server2\memos /delete")
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top