Cannot create ActiveX component.

Posted on 2006-04-22
Last Modified: 2008-01-09
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?

Question by:amitbueno
    LVL 69

    Expert Comment

    by:Éric Moreau
    Hi amitbueno,

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

    LVL 11

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now