-
Here is my problem: I want to add all installed printers to a combo. I know how to add current printer but how to add all of them??
Thanks in advance
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
You can Enumerate the Printers Collection, eg.
Code:
Private Sub Form_Load()
Dim oPRN As Printer
For Each oPRN In Printers
Combo1.AddItem oPRN.DeviceName
Next
Combo1 = Printer.DeviceName
End Sub
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Thanks Aaron!!!!
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.