VB3 Connecting to a Network Drive by Using WNetAddConnection (94679)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
This article was previously published under Q94679 SUMMARY
Windows version 3.1 provides a new API Call, WNetAddConnection, which will
redirect a local device to a shared resource or network server.
WNetAddConnection requires the name of the local device, the name of the
network resource, and the password necessary to use that resource.
This article explains in detail the arguments and potential error messages
for the Windows version 3.1 WNetAddConnection function call.
REFERENCES
"Microsoft Windows Software Development Kit: Reference Volume 2," version
3.1 and the WIN31WH.HLP file that shipped with the Microsoft Visual Basic
version 2.0 Professional Version for Windows.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbcode kbnetwork KB94679 |
---|
|