How To Call WNetConnectionDialog1 and WNetDisconnectDialog1 (177698)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Platform Software Development Kit (SDK) 1.0
This article was previously published under Q177698 SUMMARY
The functions WNetConnectionDialog1 and WNetDisconnectDialog1 are very useful for connecting and disconnecting from remote resources. The functions take parameters that allow you to change the default values of the connect and disconnect dialogs before calling them.
They also provide a common set of error-handling messages to the user
automatically.
This article demonstrates how to use some of these functions from 32-Bit
Visual Basic. These functions are available on Windows 2000, Windows NT, Windows 95, Windows 98, and Windows Me.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbhowto kbWNet KB177698 |
---|
|