Click here to Skip to main content
15,916,042 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I upgraded VB6 program and I used Printer class of vb6 powerpack.

The problem is that when call printer.EndDoc() then a printpreviewDialog is shown and this dialog has a small size and bad position!

My question is that :
Is that possible we access to this dialog to change properties?

How we can access to that ? if not is there any way to change the default size of PrintPreviewDialog( for example like registery or else.)!?
Posted
Updated 29-Nov-11 7:42am
v2

1 solution

Check these

I never tried these kind of things in VB6. For .NET take a look at these MSDN links. Using Height, Width, etc., properties you can solve this thing.

PrintPreviewDialog Class[^]
PrintPreviewDialog Properties[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900