Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

How Do I: Use Visual Studio 2008 SP1's PrintForm Control

Pat Tormey shows how to use the new PrintForm Control provided by Visual Studio 2008 SP1. The controls are also available for other versions of Visual Studio if you download and install the Visual Basic Powerpack.

Author: Pat Tormey

Comments

dff said:

Good effort

# January 31, 2009 4:54 AM

eldarwin said:

I have some question about this control, i did not find very much information about this.

Can hide button when Print using PrintForm?

What filetipe is saved when the PrintAction is Printing.PrintAction.PrintToFile?

thanks

# March 18, 2009 4:44 PM

kirankumarkmca said:

hi this is very use ful controls to me but i faced one problem, my form is very large when i am taking print out only down part of the form printed upper poration is not printed any idea????

# April 29, 2009 2:49 AM

Pat Tormey said:

eldarwin, Sure just set it's visible property to false when clicked and restore to to true when it's done it's work.

Large Form? You probably need to use the built in reports tools.

I included this control because it completes the set and old VB6ers were complaining about .Net not having it. BUT to be fair, Prininting forms is really not a great technique for both the reasons you see here..

Pat Tormey NH USA

# May 7, 2009 6:23 AM