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


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


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
Next Post »