How To Retrieve Printer Name from Windows 95/98/Me Registry in VB (143274)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q143274 SUMMARY
The Registry is used by Windows 95, Windows 98, and Windows Me to determine what
application programs and hardware items are installed in the computer
system. This article explains how to retrieve the name of the default
printer from the Registry from within a Visual Basic application program.
REFERENCES
Technical Articles, Windows Articles, User Interface Articles. How
to Use the Windows NT Registry in Your Application.
Product Documentation, SDKs, Win32 SDK, Win32, Reference, Functions.
RegOpenKeyEx QuickInfo Group Overview.
Product Documentation, SDKs, Win32 SDK, Win32, Reference, Functions.
RegQueryValueEx QuickInfo Group Overview.
Product Documentation, SDKs, Win32 SDK, Win32, Overviews, System
Services, Registry. Retrieving Data from the Registry.
Product Documentation, SDKs, Win32 SDK, Win32, Reference, Functions.
RegCloseKey QuickInfo Group Overview.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbAPI kbhowto kbprint kbRegistry KB143274 |
---|
|