?
Solved

Register a DLL by setup of the program

Posted on 2002-04-10
2
Medium Priority
?
152 Views
Last Modified: 2010-05-02
When I run a setup off my program an error appears sqaying that it can't register the msado25.tlb file.
I chose "ignore" and the program seems to work fine.
Although is not nice to distribute the setup with an error.
How can I solve it?

Thanks
0
Comment
Question by:asimoes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
mdougan earned 400 total points
ID: 6931675
Are you distributing the ADO files separately, or are you distributing them through the MDAC_TYP.EXE self-extracting install program?

According to Microsoft, you are bound by the license agreement to only distribute ADO runtime components through including this MDAC_TYPE.EXE in your install and not through including the individual ADO files.

So, if you're not distributing ADO through MDAC_TYPE.EXE then doing so will probably stop this error from occuring, and would keep you in compliance with Microsoft's license agreement......
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6931676
you should not distribute this dll in the first place.
if you need to distribute ado you need to use mdac_...exe to install ado.

this dll should be removed from the package.

full info

When you use a package that you created with the Package and Deployment Wizard (PDW) to install a Visual Basic application, you may receive the following error message (or similar) during the installation:

Unable to register MSADO15.TLB
This error message may reference any of the following files:
MSADO15.TLB
MSADO20.TLB
MSADO21.TLB
MSADO25.TLB

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q299645
 
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

752 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