Outlook form region form draw exception

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

Outlook form region form draw exception
 
Sharon Tourjeman




Posts: 16
Joined: 2017-03-02
Assembly Codebase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Assembly Full Name: System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 4.0.0.0
Assembly Build Date: 22/04/2017 12:53:36 AM

Exception Source: System.Drawing
Exception Type: System.Runtime.InteropServices.ExternalException
Exception Message: A generic error occurred in GDI+.
Exception Target Site: CheckErrorStatus

---- Stack Trace ----
System.Drawing.Graphics.CheckErrorStatus(status As Int32)
AddinExpress.Outlook.Regions.DLL: N 0000 (0x0) IL
System.Drawing.Graphics.FillRectangle(brush As Brush, x As Int32, y As Int32, width As Int32, height As Int32)
AddinExpress.Outlook.Regions.DLL: N 0050 (0x32) IL
System.Drawing.Graphics.FillRectangle(brush As Brush, rect As Rectangle)
AddinExpress.Outlook.Regions.DLL: N 0000 (0x0) IL
System.Windows.Forms.Control.PaintException(e As PaintEventArgs)
AddinExpress.Outlook.Regions.DLL: N 0153 (0x99) IL
System.Windows.Forms.Control.PaintWithErrorHandling(e As PaintEventArgs, layer As Int16)
AddinExpress.Outlook.Regions.DLL: N 0024 (0x18) IL
System.Windows.Forms.Control.WmPaint(m As Message&)
AddinExpress.Outlook.Regions.DLL: N 0402 (0x192) IL
System.Windows.Forms.Control.WndProc(m As Message&)
AddinExpress.Outlook.Regions.DLL: N 0939 (0x3AB) IL
AddinExpress.Extensions.ADXContainerControl.WndProc(m As Message&)
AddinExpress.Outlook.Regions.DLL: N 0885 (0x375) IL


The version i am currently using is:
3.2.2420.2010
what can cause that/ how can i avoid it?
Posted 19 Jul, 2017 06:11:27 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Sharon,

Is this issue reproducible? If yes, please provide a sample project. If not, try to use the latest build instead; see https://www.add-in-express.com/downloads/outlook-regions.php.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Jul, 2017 06:35:32 Top
Sharon Tourjeman




Posts: 16
Joined: 2017-03-02
The customer says it happen when the computer was 'awaken' from sleep mode (windows sleep),
i can't reproduce the problem in my computer.

I am going to use the last build to see if it helps
Posted 19 Jul, 2017 08:48:36 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Thank you! Please keep me informed.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Jul, 2017 09:16:32 Top