printing window pops up when Visible field is false

  • Thread starter Thread starter Bob
  • Start date Start date
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
 
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.
 
Back
Top