Leon K
Posts: 1
Joined: 2005-10-28
|
Hi,
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.
Thanks,
Leon.
|
|
Matt Driver
Matt
Posts: 152
Joined: 2004-08-17
|
Hi
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
matt |
|
Matt Driver
Matt
Posts: 152
Joined: 2004-08-17
|
Hi
You have to buy it from this website:
http://www.add-in-express.com/outlook-security/
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.
Matt |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Matt.
Thank you very much for help. |
|