Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 6th, 2004, 02:32 AM
Registered User
 
Join Date: Feb 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 July 6th, 2004, 08:42 PM
Authorized User
 
Join Date: Jun 2003
Location: Makati City, , Philippines.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Dhodie
Default

Hi Madhivanan,

TLB files was not properly registered. In your package and deployment look for the file setup.lst then under the [Setup1 Files]
section look for the entry of Msado21.tlb, make sure that the registration is set to TLBRegister instead of DLLSelfRegister. Package and deployment wizard causes this error, just change and save your setup.lst then re-install your package.

-Dhodie



Reply With Quote
  #3 (permalink)  
Old July 6th, 2004, 11:54 PM
Registered User
 
Join Date: Feb 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Hi Dhodie,
          I get my error solved. The problem is that I send mail thru the VB application using CDONTS but IIS is not configured to SMTP Services in the XP Machine. I corrected that and it is working well. Thanks for your reply.

Madhivanan
Reply With Quote
  #4 (permalink)  
Old December 1st, 2006, 02:52 AM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

can you please help me with a similar issue. I am using a com dll called lynxreceive. it has a subclass called LossClass. In my DTS Activex Script, I perform a CreateObject("lynxreceive.lossclass"). The package throws an error saying, it cant create object. I have already tried to do a regsvr32 of the dll. PLease suggest solution

Reply With Quote
  #5 (permalink)  
Old December 1st, 2006, 12:07 PM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by ram33654
 can you please help me with a similar issue. I am using a com dll called lynxreceive. it has a subclass called LossClass. In my DTS Activex Script, I perform a CreateObject("lynxreceive.lossclass"). The package throws an error saying, it cant create object. I have already tried to do a regsvr32 of the dll. PLease suggest solution
 You should start a new thread. Piggy-backing on an existing thread is less likely to get you responses. Also, you might want to describe your problem a little better, and show some code.

Woody Z http://www.learntoprogramnow.com
Reply With Quote
  #6 (permalink)  
Old December 23rd, 2006, 02:33 AM
Friend of Wrox
Points: 687, Level: 9
Points: 687, Level: 9 Points: 687, Level: 9 Points: 687, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello everyone,

according to my experience in deployment, what ever the controls you add in the setup package 3rd party, your own, or custom dlls, If the setup package is built with VSI 1.1 or higher, you will never face any such problems. No matter what the target machine is, it will succeed and application works. If deployment situation comes then, VSI is the only one I see for now, and I am happy to use it.


With Regards,
Raghavendra Mudugal
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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot create ActiveX component problem cdukes77@bellsouth.net VS.NET 2002/2003 27 February 27th, 2008 07:09 PM
ActiveX Component can't create an object lihar Access VBA 1 December 20th, 2006 07:52 AM
cannot create activex component - help please cobweb Classic ASP Components 1 September 14th, 2006 08:40 PM
Cannot create ActiveX Component Ron Howerton Pro VB.NET 2002/2003 0 July 18th, 2006 10:33 AM
ActiveX component can't create object lameneural Classic ASP Components 0 July 4th, 2006 12:14 AM



All times are GMT -4. The time now is 12:48 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.