Results 1 to 2 of 2

Thread: Printing

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2003
    Posts
    51

    Printing

    how do i print the contents of a listbox on a print out(report). I am using the printer.print function???

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. Dim x As Integer
    2.  
    3.     For x = 0 To (List1.ListCount - 1)
    4.         Printer.Print List1.List(x)
    5.     Next

    Unless you are talking about something else.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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