Solved

Register a DLL by setup of the program

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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…
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…
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…
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…

726 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