ActiveX Can Not Create Object!
Hello,
I have a program that does some stuff and then sends an email of the results. I'm using the Microsoft Outlook 8.0 Object Library. The code is below:
Dim objOutlook As New Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
This works fine in the Visual Basic IDE, but when used as a stand-alone program it comes back with the error: ActiveX Control Can Not Create Object. The file msoutl8.olb is in the registery.
Anybody have any ideas? I appreciate any help.