Solved

Register a DLL by setup of the program

Posted on 2002-04-10
2
139 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
2 Comments
 
LVL 18

Accepted Solution

by:
mdougan earned 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

861 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now