How would i print a list box. Sounds simple but i am really new to VB so please help me its for a project.
Printable View
How would i print a list box. Sounds simple but i am really new to VB so please help me its for a project.
ok, try this:
Code:Private Sub PrintListbox(Listbox As Listbox)
Dim i As Integer
For i = 0 To Listbox.ListCount - 1
Printer.Print Listbox.List(i)
Next
Printer.EndDoc
End Sub
why do you need everything so fast ?? :D
maybe he's always got the runs:D :D
BAH! That's no excuse...you should do what I do.Quote:
Originally posted by chrisjk
maybe he's always got the runs:D :D
Sit on a trash can with no pants on, that way you don't have anything to worry about :D;):D
:eek:
yup, its hard to explain to people if they walk in on you, so I suggest you lock your door before attempting this exercise :)
what about the poor rubbish/garbage man though?:eek: :eek: ;)