Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook SecurityManager

Status
Not open for further replies.

JA3395

Programmer
May 22, 2007
88
IE
Has anyone out there ever succeeded in using OlSecurityManager to turn off the Outlook security warnings?

I found the following suggestion

Code:
Dim OlSecurityManager As Outlook.SecurityManager
Dim oApp As Outlook.Application

    Set oApp = CreateObject("Outlook.Application")
    OlSecurityManager.ConnectTo oApp
    OlSecurityManager.DisableOOMWarnings = True

' code

    OlSecurityManager.DisableOOMWarnings = False

I have the Outlook library added as a reference, but I've been unable to get the compiler to recognise Outlook.SecurityManager, it doesn't seem to exist in the library.

Is there some other Outlook library I have to Reference?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top