Solved

printPreviewDialog question

Posted on 2004-09-15
7
247 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seveā€¦
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

623 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