Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Expand Your VB6 Printing Repertoire—Part II-2 : Page 2




Application Security Testing: An Integral Part of DevOps

The TextPrint Project
The main form (see Figure 1) of the TextPrint project for this month's solution contains a TextBox control where you can type or paste text. You could easily substitute a more full-featured text editor to add features; but this simple text editor, based on the TextBox control, suffices to illustrate basic print and preview capabilities. The Printer Font button on the form lets you set the font used for both the TextBox and the printout. The Preview Text and Print Text buttons let you preview and print the text respectively. Whether you're previewing or printing text, the program displays the Print dialog box, where you can select the printer and set the printout's orientation.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date