954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Print A lIST

I am tring to print a list in vb 5 does anyone have a code for it using printer.print
Thanks

kclif9
Newbie Poster
1 post since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

please specify the problem clearly.

Waht do you mean by a list.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

use this code :-

dim i as integer

for i=1 to 12
list1.additem monthname(i)
next i

for i=0 to list1.listcount-1
printer.print list1.list(i)
printer.enddoc
next i

choudhuryshouvi
Posting Pro
553 posts since May 2007
Reputation Points: 30
Solved Threads: 49
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You