473,383 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Hide the printing dialog box

Fox
How to hide the printing dialog box during printdoucment.print() called?
Jan 4 '06 #1
1 5509
Hi,

To supress the window use the standard print controller.

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

PrintDocument1.Print()

Ken

---------------------
"Fox" <er**********@gmail.com> wrote in message
news:Ou**************@TK2MSFTNGP15.phx.gbl...
How to hide the printing dialog box during printdoucment.print() called?

Jan 4 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: yw | last post by:
All, In VC6.0, I create a dialog based applicaton, and now , I want to hide the dialog when executing the application. How to do? Thanks Any help are appreciated.
3
by: Hasani | last post by:
How do I stop or hide the 'Printing' dialog box from showing when the method PrintDocument.Print is invoked?
2
by: SamSpade | last post by:
In QueryPageSettings I tell the user to do things like reinsert a sheet to print on the other side. I also let him optionally cancel printing that page. Or the rest of the pages. Probably...
0
by: Larry Page | last post by:
I have a need to auto print a form when the user clicks the submit button, then clear the form. The problem is the print dialog is appearing after the server side code has already cleared the...
2
by: larry | last post by:
I'm trying to print screen in my MFC application. I want to capture screen in OnBeginPrinting( ), but my program capture the print dialog box too. How can I hide print dialog box and just print...
2
by: zhangyl | last post by:
I use a WebBrowser control to open an office Document in my form , but every time when I open a file, there a dialogbox named "File download" showed asking "Whether you want open or save this...
3
by: Dennieku | last post by:
Hi, I've have 2 questions about the Web Setup project in VS.Net 2003. 1. How can i determine, from an Installer class, in which folder the Website has been installed (at the Commit phase) 2. I...
36
by: OldBirdman | last post by:
I want a form that is Modal, PopUp, and Dialog, but that is hidden most of the time so that the fields are available to the code of my other forms. Modal means that only the form can have control,...
5
by: alhalayqa | last post by:
Hi Guys, I have attached the beforeunload event and its handler to the window as : // this is FireFox only window.addEventListener("beforeunload",beforeunloadHandler,false); function...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.