|
-
Apr 22nd, 2001, 04:36 PM
#1
Thread Starter
New Member
How would i print a list box. Sounds simple but i am really new to VB so please help me its for a project.
-
Apr 22nd, 2001, 04:42 PM
#2
Fanatic Member
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
GWDASH
[b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]
-
Apr 22nd, 2001, 04:44 PM
#3
why do you need everything so fast ??
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 22nd, 2001, 05:21 PM
#4
PowerPoster
maybe he's always got the runs
-
Apr 22nd, 2001, 05:24 PM
#5
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 22nd, 2001, 05:26 PM
#6
PowerPoster
-
Apr 22nd, 2001, 05:28 PM
#7
yup, its hard to explain to people if they walk in on you, so I suggest you lock your door before attempting this exercise
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 22nd, 2001, 06:24 PM
#8
PowerPoster
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
|