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

How to make a refference? 
Leon K

Posts: 1
Joined: 2005-10-28

I want to disable outlook warnings, when my application sends email.
And I have to use this code in VB.NET:

Dim SecurityManager as New AddinExpress.Outlook.SecurityManager

But I do not know to which object in the library I have to make a reference.


Posted 28 Oct, 2005 11:34:25 Top
Matt Driver


Posts: 152
Joined: 2004-08-17

In .Net go to project > Add Reference > .Net Tab and select Outlook Security Manager .Net

This is the rererence for the Security Manager

Next Go to toolbox and right click Add/Remove and select .Net Framework Components and add Security Manager. It will then appear on the toolbar in the tab you added it to. It can now be dragged onto your addin or form etc.

You won't need to DIM it when doing this. .Net will add the code for you.

Then you can use the relavant disabl/enable in vb:

SecurityManager.DisableCDOWarnings = True
SecurityManager.DisableOOMWarnings = True
SecurityManager.DisableSMAPIWarnings = True
and then
SecurityManager.DisableCDOWarnings = False
SecurityManager.DisableOOMWarnings = False
SecurityManager.DisableSMAPIWarnings = False

Hope this helps

Posted 28 Oct, 2005 11:44:52 Top
Matt Driver


Posts: 152
Joined: 2004-08-17

You have to buy it from this website:

Then once you have the details install it and then it will be available from visual studio.

I have been using it from when it was released for an Outlook add-in for over 200 users and it works perfectly without trouble, I highly recommend it. Support is fantastic from the team as well.

Posted 29 Oct, 2005 08:18:30 Top
Sergey Grischenko

Add-in Express team

Posts: 7235
Joined: 2004-07-05
Hi Matt.

Thank you very much for help.
Posted 31 Oct, 2005 05:15:57 Top