security manager tool - a windows appears

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

security manager tool - a windows appears
why a windows appears to ask us to choose an outlook profil ? 
marc wolf


Guest


we want to disable the security of outlook.
i did a console program with vb.net to disable the popup. i used your example SimpleApp.
Dev: Visual Studio 2008
on the development computer, i get no windows. it is strange because i get no popup when i actve the outlook security or when i desactive the outlook security !

the problem is : when i launch the program on an other computer, i get a outlook window that ask me to choice a profil !!!!
why ?
Context computer: windows XP SP3 32 bits,Outlook 2010

thanks for your help

[CODE]
Dim SecurityManager1 As AddinExpress.Outlook.SecurityManager
SecurityManager1 = New AddinExpress.Outlook.SecurityManager()

TpMapi = Type.GetTypeFromProgID("MAPI.Session", False)
If Not (TpMapi Is Nothing) Then
Try
MapiSession = Activator.CreateInstance(TpMapi)
If Not (MapiSession Is Nothing) Then
Try
MapiSession.Logon()
If (bactiveDeactiveCDO) Then
SecurityManager1.DisableCDOWarnings = True
Else
SecurityManager1.DisableCDOWarnings = False
End If
Catch

End Try
End If
Finally
If Not (MapiSession Is Nothing) Then
Marshal.ReleaseComObject(MapiSession)
End If
End Try
End If

Dim SecurityManager1 As AddinExpress.Outlook.SecurityManager
SecurityManager1 = New AddinExpress.Outlook.SecurityManager()

OlType = Type.GetTypeFromProgID("Outlook.Application", False)
If Not (OlType Is Nothing) Then
Try
OutlookApp = Activator.CreateInstance(OlType)
If Not (OutlookApp Is Nothing) Then

Try
If (bactiveDeactiveOOM = True) Then
SecurityManager1.ConnectTo(OutlookApp)
' switch OFF
SecurityManager1.DisableOOMWarnings = True
Else
SecurityManager1.DisableOOMWarnings = False
End If
Catch

End Try
End If
Finally
If Not (OutlookApp Is Nothing) Then
OutlookApp.Quit()
Marshal.ReleaseComObject(OutlookApp)
End If
End Try
End If
[CODE]
Posted 03 Jun, 2012 04:46:47 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Marc,

marc wolf writes:
the problem is : when i launch the program on an other computer, i get a outlook window that ask me to choice a profil !!!!


The "Choose Profile" dialog is not a security warning! This is normal to get it at startup; Security Manager cannot prevent showing it. Moreover, there can be a Login/Pwd dialog or even a couple of such dialogs.

marc wolf writes:
it is strange because i get no popup when i actve the outlook security or when i desactive the outlook security !


This is normal to get no security warnings if the antivirus software is up-to-date. To get security warnings, you can turn the antivirus off.


Andrei Smolin
Add-in Express Team Leader
Posted 04 Jun, 2012 03:41:03 Top