Jibril Esa
Posts: 2
Joined: 2006-07-21
|
I have followed the Deployment instructions from page 32 of the deployment guide for Outlook Security Manager
and checked the link to the Microsoft recomendations on how to install a shared com object. using the .Net installer I tried all of the various Register property values; according to documentation
vsdrfCOMRelativePath seems like the one that is best for shared com objects,
But under vb6 this code works on my machine but blows up when I do an install of my addin
Dim oSelection As Outlook.selection
Dim oMailItem As MailItem
Dim oNewMailItem As Outlook.MailItem
Dim oReplyMailItem As Outlook.MailItem
Dim cSender As String
Dim oSecMan As Object
Dim olApp As Outlook.Application
Set olApp = HostApp 'Host App is defined as an Outlook.Application
Set oSecMan = CreateObject("AddInExpress.OutlookSecurityManager")
oSecMan.ConnectTo olApp 'Code blows up Here
oSecMan.DisableOOMWarnings = True
|
|
Dmitry Kostochko
Add-in Express team
Posts: 2880
Joined: 2004-04-05
|
Hi Jibril,
Make sure that both libraries from the Redistributable folder were copied and registered on the target PC.
|
|
Jibril Esa
Posts: 2
Joined: 2006-07-21
|
As a test I placed the files in the correct locations on a test machine and manually registered my dll, and the two files osmax.ocx and secman.dll but I still get the paramater incorrect error. I even tried reversing the order of registering the files with regsvr32, I also made sure I have the latest version of Outlook Security Manager but I get the same result after testing on two different machines. What step am I missing? |
|
Dmitry Kostochko
Add-in Express team
Posts: 2880
Joined: 2004-04-05
|
Hi Jibril,
What step am I missing?
It seems you are not missing anything and OSM should work correctly. Try to test our SendMail demo project on this PC and let me know about the results.
|
|