Tim Taff
Posts: 1
Joined: 2006-01-28
|
I have written an app that works with the Outlook Contacts folder to display contact information. When I attempt to connect the Outlook Security Manager to Outlook, I get a "The parameter is incorrect" error. This is VB6 using the Outlook Security Manager ActiveX Control. Below is the code:
Public gobjOutlook As Object
Public gobjNameSpace As Object
Public gobjDefaultContactsFolder As Object
Set gobjOutlook = CreateObject("Outlook.Application")
Set gobjNameSpace = gobjOutlook.GetNamespace("MAPI")
Set gobjDefaultContactsFolder = gobjNameSpace.GetDefaultFolder(olFolderContacts)
'Connect the Outlook Security Manager to the outlook application.
OutlookSecurityManager.ConnectTo gobjOutlook <---error occurs here
When compiled, the app works fine on my WinXP Pro development machine, but when I try to install the app on my laptop (WinXP Home), I get the error when starting the app.
Can someone help with this?
Thanks,
Tim
|
|
Dmitry Kostochko
Add-in Express team
Posts: 2880
Joined: 2004-04-05
|
Hi Tim,
Have you done all written in the Deployment section (page 32) of the OSM Developer's Guide on your laptop?
|
|