Opening external EML & showing region in Inspector

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

Opening external EML & showing region in Inspector
 
BerndH




Posts: 76
Joined: 2014-09-23
I have a special region which is displayed for certain mails.
If I open an external EML and Outlook is already running in the background, my region is displayed correctly.
However, if I open the external EML without Outlook already running in the background, Outlook starts but the region is not displayed.

What's the difference? Any idea where I could look?

Bernd
Posted 25 Aug, 2022 04:45:53 Top
Andrei Smolin


Add-in Express team


Posts: 18421
Joined: 2006-05-11
Hello Bernd,

I assume, when started in this way, the inspector window is opened modally. Is this so? Also, if I remember correctly, the add-in isn't loaded at this moment: it loads in a brief moment between the user closing the inspector and Outlook application quitting.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Aug, 2022 10:01:21 Top
BerndH




Posts: 76
Joined: 2014-09-23
Yes, it's loaded like this. Do you know a check, if outlook is loaded
like this for showing a message?
Posted 29 Aug, 2022 09:25:01 Top
Andrei Smolin


Add-in Express team


Posts: 18421
Joined: 2006-05-11
Hello Bernd,

I think in this case the add-in doesn't load at all. Meaning, you won't be able to show a message. You can check if the AddinInitialize or OnRibbonBeforeCreate event is fired in this case: if it doesn't fire, the add-in isn't loaded.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Aug, 2022 09:49:02 Top
BerndH




Posts: 76
Joined: 2014-09-23
It works now ... my code outsmarted me ;-)
Posted 30 Aug, 2022 10:16:52 Top