AddinExpress.Outlook.SecurityManager 2005

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

AddinExpress.Outlook.SecurityManager 2005
AddinExpress Outlook SecurityManager 
Thomas Lauer




Posts: 41
Joined: 2011-01-24
Hi i want to try the security messages off.

i use the code.


private static SecurityManager sm = new SecurityManager();
sm.DisableOOMWarnings = false;
sm.DisableCDOWarnings = false;
sm.DisableSMAPIWarnings = false;


when i start myaddin t became this message.

My Webpage
Posted 19 Sep, 2012 08:44:46 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Thomas,

This is a typical mistake for all developers. Do you use Simple MAPI, the Outlook Object Model and CDO technologies in the code of your add-in?

Instead, please choose the single property according to the technology used in your application/add-in. For example, if you use the Outlook Object Model for developing the add-in, the code should look in the following way:

private SecurityManager sm = new SecurityManager(); 
sm.DisableOOMWarnings = true;
 // do the homework here
sm.DisableOOMWarnings = false; 


Does it help?
.NET, Extended MAPI, Windows Phone & RT
Posted 19 Sep, 2012 09:35:51 Top
Thomas Lauer




Posts: 41
Joined: 2011-01-24
;-) Thank i understand!
Posted 19 Sep, 2012 09:45:11 Top