Changing installed Office executable path

Add-in Express™ Support Service
That's what is more important than anything else

Changing installed Office executable path
 
Fumi




Posts: 12
Joined: 2020-12-12
All,

I have a Visual Studio project for Outlook plugin. It works perfectly fine. The office installed on the PC env is Office 2013.


I have another PC with Office 2016. When I tried to debug the same project with this PC with Office 2016, the error pops up saying that it cannot find Outlook.exe for Office 2013. Looks like the project keeps the absolute path to Outlook.exe file for Office 2013. However, I would like to use the same Outlook.exe file but for Office 2016 in the 2nd PC. Is there any settings that we can change the path to Outlook.exe so that the project would look for the path to Office 2016 outlook.exe file.

Thanks.
Posted 12 Aug, 2021 22:50:47 Top
Dmitry Kostochko


Add-in Express team


Posts: 2880
Joined: 2004-04-05
Hello Fumi,

Right click on your project in Visual Studio Solution Explorer, choose Properties, switch to the Debug tab and change path in the Start external program text box.
Posted 13 Aug, 2021 02:34:02 Top
Fumi




Posts: 12
Joined: 2020-12-12
Dmitry, thanks! It worked!!!
Posted 13 Aug, 2021 22:48:58 Top
Dmitry Kostochko


Add-in Express team


Posts: 2880
Joined: 2004-04-05
Hello Fumi,

You are welcome!
Posted 16 Aug, 2021 03:22:23 Top