Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on WNetAddConnection
Message
From
06/04/1999 15:23:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Question on WNetAddConnection
Miscellaneous
Thread ID:
00205741
Message ID:
00205741
Views:
66
All I am trying to map a network drive from WIN NT workstation with
WNetAddConnection:

DECLARE Integer WNetAddConnection IN WIN32API STRING @, STRING @, STRING @
lcRemoteName = "\\Computer\Resource"
lcPassword = "" && Connect using no password
lcLocalName = "E:"

? WNetAddConnection( @lcRemoteName, @lcPassword, @lcLocalName)


Returns error 1326 (invalid User I think). Can I pass a User-ID to this function?? if so where does it go in the declare and call?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform