Discussion Locked

Printing text from individual text boxes

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi all

I am trying to print text from individual text boxes on a form using Visual Basic V6.0. The form has 18 individual text boxes on it, each text box displays a letter and number.

I would like to be able to print the text from the first 5 text boxes when there is text in them, and the last 13 text boxes when there is text in them

Could someone help me with this problem, by maybe writing a couple of code to get me started?

Thank you
Mark

1 reply

by streamlogic

Hi Mark. I would start by defining your printable page. In what format will you print the data? Once you have defined the printable area, within VB, as you click a button to print, you can loop through all text boxes and place the data (.text) onto this printable area. Ihave used Crystal Reports almost exculsively with VB6, but there are built-in ways for VB6 to handle printing.

Hope this helps.

Curtis
StreamLogic Inc.
www.streamlogicinc.com

This discussion is closed to new replies.