printing window pops up when Visible field is false

B

Bob

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,myFalse,missing,myFalse,missin
g,missing);

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

Thanks,
Bob
 
T

Tom Ogilvy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top