OlForm appearing outside Inspector window since last Microsoft Update

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

OlForm appearing outside Inspector window since last Microsoft Update
unexpected change of behaviour 
Pino Carafa




Posts: 18
Joined: 2016-09-28
Hello Add-in Express,

In the last couple of days some of our customers have started complaining that our add-in is "no longer working correctly".

We are currently still using Add-in Express Version 8.9 HotFix (build 4453) but I have just renewed our subscription so we are able to move to a version 9 version if necessary.

The problem is as follows. In our Inspector, when the user is reading an email, we have added an AddinExpress.OL.ADXOlForm to show some information at the top of the email.

Suddenly, this is no longer displayed in the top of the Inspector window, but completely off the Inspector altogether, in a separate window at the top of their Monitor.

Is this an issue you are aware of? Is this a new issue?
Posted 11 Sep, 2018 05:31:05 Top
Andrei Smolin


Add-in Express team


Posts: 16162
Joined: 2006-05-11
Hello Pino,

You need to switch to using Add-in Express 9; please see https://www.add-in-express.com/creating-addins-blog/2018/05/08/add-in-express-multiple-dpi-monitors/.

An alternate way is to select Optimize for compatibility, see Display Options in the Status bar or in File | Options | General.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Sep, 2018 05:32:45 Top
Pino Carafa




Posts: 18
Joined: 2016-09-28
You have just saved our lives :)
Posted 11 Sep, 2018 06:22:47 Top
Pino Carafa




Posts: 18
Joined: 2016-09-28
Hello Andrei,

Ok maybe I spoke a bit too soon. First of all we will definitely move to Add-in Express 9 so if all else fails we can rebuild our add-in with that. In the meantime, however, there are still customers with our older add-ins built on older Add-in Express versions that may not be ready to change their Add-ins at this very moment in time....

So ...

We found the "Optimize for compatibility" in a couple of customers Outlook 365 software, and it works beautifully.

But that option does not appear to be available in the General tab of the Options for Outlook 2013, for example. I also don't see it on another Tab.
Posted 11 Sep, 2018 06:33:27 Top
Andrei Smolin


Add-in Express team


Posts: 16162
Joined: 2006-05-11
Hello Pino,

In theory, it should be possible to turn that multi-DPI support off using the manifest (e.g. Outlook.exe.manifest); you should include these tags in the manifest:


<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
    <application>
        <!--The ID below indicates application support for Windows 7 -->
        <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"></supportedOS>
        <!--This Id value indicates the application supports Windows 8 functionality-->
        <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>
        <!-- This Id value indicates the application supports Windows 8.1 functionality-->
        <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"></supportedOS>
        <!-- This Id value indicates the application supports Windows 10  functionality-->
        <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS>
    </application> 
</compatibility>
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
        <dpiAware>false</dpiAware>
    </asmv3:windowsSettings>
</asmv3:application>


But our experience suggests that this variant isn’t reliable. If it doesn’t work for you, your only option is to switch to using Add-in Express 9. Make sure you read the blog I mentioned in my last post.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Sep, 2018 08:21:40 Top
Pino Carafa




Posts: 18
Joined: 2016-09-28
Thank you Andrei. We'll keep that one in mind. In the meantime I have rebuilt our last official release build of the add-in against Add-in Express 9.

I haven't yet looked into implementing the UpdateDPI procedure you mention in https://www.add-in-express.com/creating-addins-blog/2018/05/08/add-in-express-multiple-dpi-monitors/ but I'm not sure that is strictly necessary to prevent the behaviour I originally mentioned? I can look into proper resizing at a later stage, but for now it would suffice if the controls didn't appear in the wrong area of the screen altogether ... So if we find a machine with an issue we'll try the rebuilt add-in on that. Otherwise we'll start changing the manifest as suggested :)
Posted 11 Sep, 2018 08:51:24 Top
Andrei Smolin


Add-in Express team


Posts: 16162
Joined: 2006-05-11
Pino Carafa writes:
So if we find a machine with an issue we'll try the rebuilt add-in on that.


Such a machine should have a recently updated Windows 10 with two monitors having different DPIs; to make the difference obvious, set DPIs to 100% and 200% on these monitors.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Sep, 2018 09:04:22 Top
Pino Carafa




Posts: 18
Joined: 2016-09-28
Thanks again, Andrei, we will keep that in mind.

Perhaps you can shed a bit of light on the following. From your blog and earlier blogs - see https://www.add-in-express.com/creating-addins-blog/2017/12/20/addins-multiple-monitors-different-dpi-settings/ - I gather that you were aware of, and you addressed, the DPI Awareness changes at least since December 2017.

What I don't quite understand then is how our customers were able to continue working as normal with our add-in based in Add-in Express version 8, right up until this week when the latest Microsoft Updates threw a spanner in the works. Do you know whether, I don't know, perhaps the latest Microsoft Updates removed some level of "backward compatibility" from the Office suite?

Thankfully we found your software ready to deal with the change :-)
Posted 11 Sep, 2018 11:44:36 Top
Andrei Smolin


Add-in Express team


Posts: 16162
Joined: 2006-05-11
Hello Pino,

We mostly have Insider builds and we see how Office changes every week: they change approaches, fix bugs, and introduce issues. Still, we also see similar changes in Monthly Channel builds on a smaller scale.I have an impression that the DPI-related things is still a feature in progress.

They don't announce the changes. They provide brief descriptions post factum at https://support.office.com/en-us/article/insider-release-notes-for-office-for-windows-desktop-523b3d33-8f46-4c79-b427-fdcf40c0b433.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 12 Sep, 2018 01:54:26 Top
Pino Carafa




Posts: 18
Joined: 2016-09-28
Brilliant, thanks for that Andrei, at least it gives us something we can tell users by way of explanation.
Posted 12 Sep, 2018 03:01:26 Top