Active X Security Manager doesnt work

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

Active X Security Manager doesnt work
 
Pedro Jimenez




Posts: 1
Joined: 2005-10-10
When I make a setup with this code

Dim IOutlook As Object
On Error Resume Next
Set IOutlook = CreateObject("Outlook.Application")
Call OutlookSecurityManager1.ConnectTo(IOutlook)
OutlookSecurityManager1.ConnectTo IOutlook
OutlookSecurityManager1.DisableOOMWarnings = True

I get the following error:
-2147024809 (80070057)
The Parameter is incorrect


By other hand if I debbuger the proyect this work fine...

I 've tested the SendMail proyect but the same, in debugger is fine but if I make a SendMail.exe and with security to off doesn't work.
Any idea??

Thanks
Posted 10 Oct, 2005 09:26:37 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Pedro,

Please specify the type of your project. Is it a standalone application (EXE) or a COM Add-in (DLL)? Do you debug and see the error on the same PC or do you install a ready application to the client PC and see the error there?

Posted 10 Oct, 2005 10:09:34 Top