BillyT
08-14-2002, 03:58 PM
I have an app that sends email using the Microsoft Mapi Controls 6.0 (msmapi32.ocx).
This app runs fine on my machine that has VB and Office as well as Outlook on it.
I’m trying to run it from a machine that only has Outlook on it (configured identical to mine), and its not working.
Outlook can send emails from that machine just fine on it’s own.
I registered msmapi32.ocx on that machine successfully.
And even created a setup.exe using the Setup Wizard included in VB6, and ran it on the client machine successfully.
The error I get is "ActiveX component can't create object"
On this line: Set m_objMapiSession = CreateObject("MSMAPI.MAPISession")
Shouldn’t I be able to use the msmapi32.ocx with only Outlook installed on the computer considering all my VB components have been copied over, and registered?
This app runs fine on my machine that has VB and Office as well as Outlook on it.
I’m trying to run it from a machine that only has Outlook on it (configured identical to mine), and its not working.
Outlook can send emails from that machine just fine on it’s own.
I registered msmapi32.ocx on that machine successfully.
And even created a setup.exe using the Setup Wizard included in VB6, and ran it on the client machine successfully.
The error I get is "ActiveX component can't create object"
On this line: Set m_objMapiSession = CreateObject("MSMAPI.MAPISession")
Shouldn’t I be able to use the msmapi32.ocx with only Outlook installed on the computer considering all my VB components have been copied over, and registered?