Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Okay, I'm sure this will be a simple problem for most, but my mind isn't able to clearly see through it right now.

 

I'm making a rather simple program, which will print items in a list format only if they are checked on the screen. How can I make them retain their list format, but yet not have the vbcrlf's affect them? When a checkbox is checked, it creates a string with the appropriate text. Would it be possible to add the necessary code into the string or something of a similar fashion?

 

A sidenote...I liked printing in VB6 MUCH better. Seemed simpler.

 

Thank you.

Dodge

Grab Life By The Horns

Posted
Okay, I solved the problem. I removed the vbcrlf's from the PrintDocument1_PrintPage control, and added them into the string values instead. I hadn't been aware that the strings could hold so many values.

Dodge

Grab Life By The Horns

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...