Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with PrintPreview (newbie)

Status
Not open for further replies.

wraheem

MIS
Jul 19, 2001
62
US
I have an application that will gather information and then place it within a Word document. My goal is to have a PrintPreviewControl show a Print Preview of the document within the form which the user will verify and then print/save the document.

I'm not having good luck finding good info with this. Most sites I google are teaching me how to print the form I'm working on, not how to open an existing document for printing/preview.

My main problem is telling the printpreviewControl what I want to preview. In other words where do I set the path to tell it what I want previewed? I have tried tweaking many examples and the closest I got was to create a varible to a System.Drawing.Printing.PrintDocument class and then use the .name of the PrintDocument. But apparently all this does is name it, not tell it where it is, etc.

Any help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top