Results 1 to 4 of 4

Thread: Printing info in a file list box....

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    alb, nm 87112
    Posts
    56

    Post

    What is the best way to print the information located in a File List Box?

    I know how to print regular documents, but I'm unclear how to print the info in the list box.

    Thanks!

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Try it:

    Dim lx&, cx&
    Dim FileName$

    cx = File1.ListCount - 1

    For lx = 0 To cx
    FileName = File1.List(lx)
    Printer.Print FileName
    Next


    ------------------
    smalig
    [email protected]
    http://vbcode.webhostme.com/


  3. #3

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    alb, nm 87112
    Posts
    56

    Post

    Thanks smalig!

    I imagine this goes in the code for the Print_click event?


  4. #4
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Sure!

    ------------------
    smalig
    [email protected]
    http://vbcode.webhostme.com/


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