Hello All, 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
Hello All, 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.