View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
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