If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > ActiveX Component cannot create Object

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-04, 01:44
Madhivanan Madhivanan is offline
Registered User
 
Join Date: Oct 2003
Posts: 357
Exclamation ActiveX Component cannot create Object

Hi,
I have developed a VB Application in Windows2000 and created a package. I run the setup and at the end I got the error "An Error Occurred While Registering the File Msado21.tlb". I ignored that error and the application worked well. But when I try to install the setup in Windows XP I got the same error and when running the application I got the error "ActiveX Component cannot create Object". The application will insert an image in an Existing word file and send it as attachment by email. If it works in Windows 2000 and why it is not working in Windows XP?

Thanks for helps
Madhivanan
Reply With Quote
  #2 (permalink)  
Old 07-06-04, 08:44
SCIROCCO SCIROCCO is offline
Registered User
 
Join Date: Mar 2004
Location: www.scirocco.ca
Posts: 346
Remove the Msado21.tlb from your setup list and remake your setup package.
__________________
http://www.scirocco.ca/images/banner...occobanner.gif

Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

Or try our Ask An Expert service to answer any of your questions!
Reply With Quote
  #3 (permalink)  
Old 07-06-04, 08:52
vududoc vududoc is offline
Registered User
 
Join Date: Jul 2001
Location: NC
Posts: 102
Why use ADO2.1, when ADO2.6 and ADO2.7 have been around for a while, especially when you are writing applications for Win2000 and WinXP? Might I suggest you at least use ADO2.5 which resolved many of ADO2.1 problems.
Reply With Quote
  #4 (permalink)  
Old 07-07-04, 04:58
Madhivanan Madhivanan is offline
Registered User
 
Join Date: Oct 2003
Posts: 357
Thanks guys
I get my error solved. In VB Apllication, I send email using CDONTS. I started IIS and configured to SMTP Services in the XP and now it is working well.

Madhivanan
Reply With Quote
  #5 (permalink)  
Old 11-23-04, 04:43
gpmani gpmani is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
ActiveX Component cannot create Object and error loding in dll

hi madivanan,
i've the same pbm ,what u told in this forum.but i can't solve my problem still.
i'm invoking the word,excel and powerpoint from vb to do some process.
i also got the error "An error occured while registering the msado21.tlb".

what i can do?, could you help me?.
i'm in very urgent.
Reply With Quote
  #6 (permalink)  
Old 11-23-04, 08:14
Madhivanan Madhivanan is offline
Registered User
 
Join Date: Oct 2003
Posts: 357
Thumbs up

Hi gpmani, use Ado2.0 reference in VB

Madhivanan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On