-
I would like to ask you if you know how to create a list box that shows all the availible printers is a list box, the design that i would like to create is based on the printer options in Microsoft Word. If you know how then could you let me know.
Rohan
-
I think this is what you are after.
Code:
Dim objPrinter As Printer
For Each objPrinter In Printers
List1.AddItem objPrinter.DeviceName
Next
Hope this helps. :)
-
Not to much of a problem
If you want it to look like word then you will need to use a comboBox.
Code:
Dim myPrinter As Printer
For Each myPrinter In Printers
Combo1.AddItem myPrinter.DeviceName
Next
Hope this helps. ;)