Re: ActiveX component error

From: Paul Bacelar (paul.bacelar_at_PASDESPAMlaposte.net)
Date: 12/16/04

  • Next message: Suresh: "X509 digital certificates with DSA key"
    Date: Thu, 16 Dec 2004 21:15:15 +0100
    
    

    It's a French News Groups and your redemption component must be register
    with regsvr32.exe.

    "Nayana" <naina_td@yahoo.com> wrote in message
    news:e9im64z4EHA.1596@tk2msftngp13.phx.gbl...
    > hai everybody,
    >
    > I have written a code for accessing senderemailaddress from outlook 2002
    > using redemption. The code is as below:
    > Dim PrSenderEmail, strSenderEmail
    >
    > Dim ns, itm As Object
    >
    > Dim application As New Outlook.Application
    >
    > Dim utilobj = Createobject(" Redemption.MAPIUtils")
    >
    > ns = application.GetNamespace("MAPI")
    >
    > itm = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox).Items(1)
    >
    > PrSenderEmail = &HC1F001E
    >
    > strSenderEmail = utilobj.HrGetOneProp(itm.MAPIOBJECT, PrSenderEmail)
    >
    > MsgBox(strSenderEmail)
    >
    >
    >
    > When i'm running this code i'm getting an error " Cannot create ActiveX
    > component".
    >
    > I changed the code:
    >
    > Dim utilobj = CreateObject(" Redemption.MAPIUtils")
    >
    > to
    >
    > Dim utilobj as new Redemption.MAPIUtils
    >
    > But this time i'm getting an error as:
    >
    > Additional information: COM object with CLSID
    > {4A5E947E-C407-4DCC-A0B5-5658E457153B} is either not valid or not
    > registered.
    >
    > Can anyone please help me.
    >
    > With Regards,
    >
    > Nayana.
    >
    >

    -- 
    Paul Bacelar
    

  • Next message: Suresh: "X509 digital certificates with DSA key"

    Relevant Pages

    • ASP: Get user login ID
      ... But when we register the dll on our web ... server, and call it from our ASP code, it generates an error. ... Dim lngCharsReturned As Long ...
      (microsoft.public.inetserver.iis.security)
    • RE: Problem Using VB.net Class Library DLL in VBScript
      ... In my project compile properties, I do have checked the 'Register for COM ... ' A creatable COM class must have a Public Sub New ... Dim strMyFormName As String = "Data Grid View" ...
      (microsoft.public.dotnet.languages.vb)
    • Re: What does this ClientScriptManager code do??
      ... If (Not cs.IsClientScriptBlockRegistered(cstype, csname2)) Then ... Dim cstext2 As New StringBuilder ... If that is correct it appears register should be done only once but the Add each time the page is loaded. ... The ClientScriptManager class is used to manage client-side scripts and add them to Web applications... ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: vb 6.0 naar vb.net 2005
      ... The PC has to be able to read- write data to the plc and show it in the ... starting register and such also to the module). ... starting register and such is send to the dll aswell) the dll ... Dim handle, j As Integer ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Acrobat DLL Exception (Transforming pdf to tif)
      ... Please install the PDF SDK and normally during the installation process ... Once the installation is complete check for the following entries in registry: ... You need to register the ActiveX component using the regsvr32.exe utility ... Dim PDDoc As Acrobat.CAcroPDDoc ...
      (microsoft.public.dotnet.languages.csharp)