Visual Basic > Code Snippets
Display printers listed on the system
Display printers listed on the system 'Place a combo box on a form and enter the following code. Private Sub Form_Load() Dim printer For Each printer In Printers Combo1.AddItem printer.DeviceName Next End Sub
Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows