Michael Kaden
Guest
|
Dear Support,
when I run my Excel AddIn from VS "Start" and want to open Outlook it says cannot open Outlook because the *pst file is in use by another application.
When I then close Excel and VS and want to open Outlook it asks my for confirmation of my MS profile to be used.
If I cancel that, outlook opens normal.
In the Ribbon properties, I have only ExcelWorkbook Ribbons.
Any idea where this behavior comes from.
Thank you fro your help and kind regards
Michael |
|
Dmitry Kostochko
Add-in Express team
Posts: 2887
Joined: 2004-04-05
|
Hello Michael,
Thank you for the detailed description, I have just reproduced the issue but it seems does not relate to Add-in Express based projects. What I did:
- In my Visual Studio 2019, I created an empty ClassLibrary project.
- In the project properties, on the Debug tab, I set the "Start external program" text box to the full path to the Microsoft Excel executable:
C:\Program Files (x86)\Microsoft Office\Root\Office16\Excel.exe
- I built the Class Library project and pressed F5 to start Excel under debugging.
- Then I tried to start Outlook manually and got a similar error, though in my case Outlook complained about my OST file.
So, it seems the issue is caused either by MS Office itself or Visual Studio debugger. |
|
Michael Kaden
Guest
|
Dear Dmitry,
thank you very much for your prompt reply and information.
So at least I know now that there is nothing wrong with my PC or AddIn program.
kind regards
Michael |
|
Dmitry Kostochko
Add-in Express team
Posts: 2887
Joined: 2004-04-05
|
Hello Michael,
You are welcome! |
|