Solved

printPreviewDialog question

Posted on 2004-09-15
7
236 Views
Last Modified: 2010-04-15
Hello

printPreviewDialog1 is great for quiacky adding a print preview. But this form always loads with the default .net icon.

1) How can I change the icon of this form
2) I would like it, that the user is somehow able to select the quantity when they are printing the labels. In my current setup when the user clicks the print button on this form, one document is simply printed. I would like it if I could set the properties from the print preview page. Is that possible? Or atleast a printer setup dialog to load up, rather than the documnet just being printed
0
Comment
Question by:auk_ie
  • 2
7 Comments
 
LVL 9

Accepted Solution

by:
s_sansanwal earned 168 total points
ID: 12071866
answer to 1

                  this.printPreviewDialog1.Icon = this.Icon; // add this line
                  this.printPreviewDialog1.ShowDialog();

believe me, it really works

S Sansanwal
0
 
LVL 10

Assisted Solution

by:123654789987
123654789987 earned 166 total points
ID: 12071976
Use the following link for showing printPreviewDialog

http://www.c-sharpcorner.com/winforms/texteditor.asp

0
 
LVL 18

Assisted Solution

by:armoghan
armoghan earned 166 total points
ID: 12073203
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12073217
this is how to customize the printPreviewDialog

http://www.dotnet247.com/247reference/msgs/48/243222.aspx
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now