Solved

Register a DLL by setup of the program

Posted on 2002-04-10
2
141 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

773 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