Solved

How can the Print Status Dialog be suppressed in VB.NET?

Posted on 2004-10-20
1
538 Views
Last Modified: 2008-02-01
I have a VB.NET DLL that prints various forms. The PrintDocument.Print method is used handling the actual printing in a function. By default the Print Status Dialog shows up. Is there a method in which I can print without this dialog or suppress it?
0
Comment
Question by:BradTrebilcock
[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
1 Comment
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 500 total points
ID: 12358444
The printdocument printcontroller handles that

try

PrintDocument1.PrintController = New System.Drawing.Printing.StandardPrintController

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingprintingprintdocumentclassprintcontrollertopic.asp

 
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Open a link in vb.net 2 26
run a stored procedure from vb.net 1 32
visual studio vb.net windows onkeyup 2 30
Check only one toolstripmenu item 12 30
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…

733 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