VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to Add Print Preview to VB (updated)

by Vincent Lozada (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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.

Assumes
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

Rate How to Add Print Preview to VB (updated)

Download How to Add Print Preview to VB (updated)

Download How to Add Print Preview to VB (updated) (6 KB)

How to Add Print Preview to VB (updated) Comments

No comments have been posted about How to Add Print Preview to VB (updated). Why not be the first to post a comment about How to Add Print Preview to VB (updated).

Post your comment

Subject:
Message:
0/1000 characters