Results 1 to 2 of 2

Thread: Printers & Ports

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Germany
    Posts
    1

    Post

    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

  2. #2
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Columbia, SC USA
    Posts
    374

    Post

    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
  •  



Click Here to Expand Forum to Full Width