Solved

Register a DLL by setup of the program

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

747 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

11 Experts available now in Live!

Get 1:1 Help Now