|
-
Feb 11th, 2000, 11:35 PM
#1
Thread Starter
New Member
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
-
Feb 12th, 2000, 01:18 AM
#2
Hyperactive Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|