Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default printing window pops up when Visible field is false

Hi,

I am using Office XP PIAs. I want to use Excel to printOut documents
w/o bringing up the application at all using C#.
When I set the Visible field to false, I still get the printing window
appear for a little while.
Is that possible to run this application with no windows popping up at
all?

I print out an excel workbook as follows
object myFalse = false;
object missing = Type.Missing;
thisWorkbook.PrintOut(missing,missing,missing,myFa lse,missing,myFalse,missin
g,missing);

Any help is greatly appreciated (even VB examples will do)

Thanks,
Bob



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default printing window pops up when Visible field is false

There is no setting that suppresses that window. You would need to use the
windows API to manage it I would think - possibly freezing the screen.

--
Regards,
Tom Ogilvy

Bob wrote in message
...
Hi,

I am using Office XP PIAs. I want to use Excel to printOut documents
w/o bringing up the application at all using C#.
When I set the Visible field to false, I still get the printing window
appear for a little while.
Is that possible to run this application with no windows popping up at
all?

I print out an excel workbook as follows
object myFalse = false;
object missing = Type.Missing;

thisWorkbook.PrintOut(missing,missing,missing,myFa lse,missing,myFalse,missin
g,missing);

Any help is greatly appreciated (even VB examples will do)

Thanks,
Bob





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Name Conflict window pops up, when I try to open a saved worksheet wkmooreh Excel Discussion (Misc queries) 0 December 17th 09 02:09 PM
How do I get red of a window pops out when I open excel sheet Strugling Excel Discussion (Misc queries) 1 October 30th 09 03:01 PM
Excel configuration window always pops up Lisa Setting up and Configuration of Excel 0 March 28th 07 02:42 AM
Application.Visible = False SimonB Setting up and Configuration of Excel 1 October 16th 06 09:51 PM
Application.Visible = False SimonB Excel Discussion (Misc queries) 1 October 15th 06 01:10 PM


All times are GMT +1. The time now is 03:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"