Solved

printPreviewDialog question

Posted on 2004-09-15
7
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

710 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