Article ID: 154007 - Last Review: July 13, 2004 - Revision: 2.2 How To Connect to a Network Printer with the Win32 APIThis article was previously published under Q154007 SUMMARY
Using the Win32 API, it is possible to bring up a predefined Windows
Dialog box for connecting to a network printer. The ConnectToPrinterDlg
Win32 API works under Windows NT. However, it is not accessible by
Visual Basic programs running under Windows 95 because the user interface
is so different. Therefore, you must use a Command line equivalent
statement to invoke the "Add Printer Wizard" under Windows 95. Below is
a code sample showing how to implement both methods of displaying the
Dialog.
MORE INFORMATION
REFERENCES
The Win32 SDK.
| Article Translations
|
Back to the top
