ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Office Automation Problem (https://www.excelbanter.com/excel-programming/420880-office-automation-problem.html)

miztaken

Office Automation Problem
 
Hi there,
I have been doing office automation in C# using interop assemblies.
I am having two problems:

I want to hide the windows of WINWORD, EXCEL and PPT during automation
process.
I have tried making the application;s visibile=false but still it gets
displayed?
Is there anyway i can hide the window?

Also even after i close the application by app.Quit() in some cases
the window still remains and i have to close my application as a whole
to let it go.Even in some cases the office window remains even after i
close my application?

Please help me
miztaken


All times are GMT +1. The time now is 01:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com