How to Add Print Preview to VB (updated)
This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro...
It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.
Original Author: Vincent Lozada
Assumptions
Recently, I was on a quest to find some code to add print previewing in my VB apps and I came across this code from the MSDN web site. I found it very useful and I hope you do to. I modified the original code to conform to Windows 32 bit functions. For more details check out Article ID: Q113236
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 124 times
Categories
Attachments
CODE_UPLOAD1705.zip
Posted: 9/3/2020 3:45:00 PM
Size: 7,192 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.