Tutorial :Close Office applications (Word, Excel, Outlook) before install an Office 2007 Add-in



Question:

How can I close any Office 2007 running application like Word,Excel,Outlook before installing an Office 2007 Add-in in a Visual Studio 2008 Setup Project?

Thanks! Martin


Solution:1

See here for sample code of how to attach to a running instance of Excel, enabling you to manipulate it (including terminating the instance). See here for sample code of getting the RunningObjectTable, used to get all instances of a specified application.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »