-
Hi!
i have a prob. I want my 'user' to select a printer and a port. I made a list of all Local-Devices with:
For i = 0 To Printers.Count - 1
Set Printer = Printers(i)
.cmbDevices(0).AddItem Printer.DeviceName
.cmbDevices(1).AddItem Printer.DeviceName
Next
My problem is: How can i get the standart port for an Device? pls help me!!
cYa
The Professor
-
Would it not be easier to use the Common Dialog control, rather than a list of printers and ports? Just add the control and the code
CommonDialog1.ShowPrint
Or do you have a more specific reason for having a list of printers and ports?