Inspector Form being re-used from a previous instance

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

Inspector Form being re-used from a previous instance
Problems with an existing Inspector form not showing 
Peter Marshall




Posts: 14
Joined: 2016-04-18
We are having a strange problem, whereby our Inspector form (inheriting from AddinExpress.OL.ADXOlForm), seems to fail to be constructed. This exhibits as an email opening up without our region, and by the breakpoints in the Constructor not firing.

To reproduce this we create 2 new emails - for both of these for each inspector, our form goes through the constructor and then the code in the ADXOlInspectorForm_ADXBeforeFormShow(). If we then close those two emails *without* sending them, and create another email the final email does not run the constructor for our form.

If we then create another email it will work again, i.e. the form is constructed and the email has the region.

On the email where the region does not appear, if we click on the backstage, then return, the BeforeShow event fires, and the region appears.

It feels like the email has got the region from an old email, but is hidden, and only appears when the email is forced to redraw ?

Peter
Posted 18 Apr, 2016 06:28:26 Top
Andrei Smolin


Add-in Express team


Posts: 18828
Joined: 2006-05-11
Hello Peter,

In a couple of minutes I'll send you an email with a download link for an assembly(ies) that fixes a number of other issues. In case the issue you describe isn't fixed by that assembly, please send us a sample project demonstrating the issue to the support email address; please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 18 Apr, 2016 08:58:40 Top
Peter Marshall




Posts: 14
Joined: 2016-04-18
Hi Andrei,

Received the email thanks - one small issue, the linked files are for Add-in Express, whereas we are using Add-In Express Regions for Microsoft Outlook and VSTO, so we reference slightly different dll's.

We are currently referencing the 3.1.2411.2010 version of the Regions dll's.

Peter
Posted 18 Apr, 2016 09:17:47 Top
Peter Marshall




Posts: 14
Joined: 2016-04-18
We've isolated the problem a bit now - it only seems to occur on a single machine (which also happens to be a developer machine that used to have an older version of AddinExpress Regions installed ).

When we test on client machines and a clean VM it's working fine, so we think it's something odd on this single machine, so is of less concern.

Just out of interest is there anywhere to see when the Form Objects are being created, so we can try and debug on this machine where it's going wrong, so we can work out what to clean up on this machine.

Thanks

Peter
Posted 19 Apr, 2016 06:42:16 Top
Andrei Smolin


Add-in Express team


Posts: 18828
Joined: 2006-05-11
Hello Peter,

This looks like an issue in the code of Add-in Express Regions. We will try to provide a fix tomorrow.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Apr, 2016 07:18:06 Top
Andrei Smolin


Add-in Express team


Posts: 18828
Joined: 2006-05-11
Hello Peter,

I've sent you a download link and instruction by email. Please let me know if the assembly(ies) fixes the issue for you.


Andrei Smolin
Add-in Express Team Leader
Posted 22 Apr, 2016 08:32:58 Top