Solved

vb installation error msado25tlb can't be registered

Posted on 2004-09-28
4
467 Views
Last Modified: 2008-01-09
I used the vb package and deployment wizard to create an install for a vb prgram.

References included in the program:

VB for Applications
VB runtime Objects and Procedures
vb objects and procedures
Ole automation
Microsoft DAO 3.6 Object library

components included in the program

microsoft calendar control 8.0
miscrosoft common dialog control 6.0
microsoft masked edit control 6.0
microsoft common controls-2 6.0

I fixed an error on the install that occurred by modifying a file by the following:

1. In a text editor such as Notepad, open the MSCal.dep file.
2. Remove the letters "Ex" from the Register=$(DLLSelfRegisterEx) line so that it looks as follows:
Register=$(DLLSelfRegister)
3. Save the MSCal.dep file, and then close Notepad.
4. Re-create the package to include the modified dependency file.

The modification allows the install to "work" and I no longer get the self registering error, but I now get the following error message during the installation:

An error occurred while registering the file 'C\Windows\System32\msado25.tlb'

First, I don't understand why there is an ado object associated with this program since I use dao.

Second, how to I fix the problem.  I can click "Ignore" in the message box and the install actually completes successfully and the program is seeming to run fine.

Thanks for your assistance.
0
Comment
Question by:MikeORTEC
[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
4 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 12167925
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12561031
Points to emoreau
0
 

Author Comment

by:MikeORTEC
ID: 12562040
Sorry, I let this one slide.  The comment was all that I needed.
Mike
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

738 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