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

Build this simple text editor and see how easy it can be to add Print and Print Preview capabilities to your applications without resorting to third-party controls.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

n last month's 10 Minute Solution you explored the basics of printing with VB6. This month's solution continues that exploration by presenting basic code for printing and previewing text. In the process you'll build the PrintText project, which is a very simple text editor with print and preview capabilities.

Although VB6's Printer object is convenient, printing in VB has some serious limitations, such as a lack of support for controls for printing and previewing documents (a situation that was rectified in VB.NET). Generating elaborate printouts with VB6 requires a substantial programming effort; therefore most VB6 developers use third party controls for their printouts. But you don't always want to include a large printing library to gain decent print capabilities; therefore, good printing tools have their place in every developer's utilities collection.

You don't have to rely on third-party controls to gain additional printer control in VB. This solution reviews the basics of printing with VB6 and then applies the basic concepts to build some practical tools and utilities.

Comment and Contribute






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



Thanks for your registration, follow us on our social networks to keep up-to-date