Jack:  Works great on my machine now I will test on the vista machine.

Thanks,

Jeff

Jeff Johnson
[email protected]
SanDC, Inc.
623-582-0323
Fax 623-869-0675



Jack Skelley wrote:
> Jeff:
> Try...
> public goWSHNetwork
> goWSHNetwork = CreateObject('Wscript.Network')
> goWSHNetwork.MapNetworkDrive("S:", "\\SomeServer\SomeShare", .F., gcID, 
> gcPASSWORD)
> ***where parameters are local drive,\\server\share,update 
> profile,username,password
> trap for errors   1421, 1426,1427,1428,1429,1440
> Then to remove drive:
> goWSHNetwork.RemoveNetworkDrive("S:",.t.,.f.)  &&remove S:, force off, do not 
> update profile
> 
> This should get you started...
> Regards,
> 
> Jack Skelley

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to