Outlook add-in region going to top left of screen

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

Outlook add-in region going to top left of screen
Warren Wander

Posts: 7
Joined: 2014-10-24
Hi, we have a very small number of clients reporting a problem where our add-in regions are not appearing inside the email window but the top-left of the user's screen.

We're using the latest version, 8.6.4408, and the users are all on Office 2016.

Reproducing for these affected users is strange!...

* Opening an email from within Outlook is fine, our add-in appears ok.
* We use the Outlook View Control (OVC) to "embed" the Outlook email view in our application.
* Opening an email from the OVC causes our add-in's regions to position themselves on the top-left of the user's screen.
* At this point *all* emails opened, either from Outlook or the OVC, will have our add-in regions.

As I mentioned above this is only affecting a very small amount of users.

Any idea why this is happening or things I can try to narrow down the cause?
Posted 08 Jun, 2017 09:13:18 Top
Andrei Smolin

Add-in Express team

Posts: 16089
Joined: 2006-05-11
Hello Warren,

In the ADXOlForm.ADXBeforeFormShow event, check if Outlook.Explorers.Count returns 0. This is the case if Outlook is started programmatically (without Explorer windows). If Explorers.Count is zero, set ADXOlForm.Visible to prevent your form from being shown as this scenario isn't supported.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Jun, 2017 03:59:29 Top