Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / December 2004

Tip: Looking for answers? Try searching our database.

ActiveX component error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nayana - 16 Dec 2004 07:09 GMT
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 - 16 Dec 2004 20:15 GMT
It's a French News Groups and your redemption component must be register
with regsvr32.exe.

> hai everybody,
>
[quoted text clipped - 40 lines]
>
> Nayana.

Signature

Paul Bacelar


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.