• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1112
  • Last Modified:

Cannot create ActiveX component.

Hi all,

I am using the following line on my VB.NET Visual Studio 2005 application:
RedItem = CreateObject("Redemption.SafeMailItem")

And everytime it Result with "Cannot create ActiveX component.".

The component is registered in the system with regsvr32 and it was installed properly. Basically the object create an instance to outlook and get messages from it,.

What am I doing wrong?

Help
0
amitbueno
Asked:
amitbueno
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
Hi amitbueno,

are all the requirements of this component are also installed (may VB run times and others) ?

Cheers!
0
 
LordWabbitCommented:
Add the dll as a reference to your project and then you can use object browser to check if Redemption.SafeMailItem is the right way to instantiate the object.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now