![]() |
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 |
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 |
All times are GMT +1. The time now is 05:25 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com