Thomas Lauer
Posts: 67
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.
https://dl.dropbox.com/u/5565093/bilder/4.png |
|
Eugene Astafiev
Guest
|
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? |
|
Thomas Lauer
Posts: 67
Joined: 2011-01-24
|
|