Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Installation / Documentation > Please Help - Error while registering file msado20.tlb


Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2002, 04:48 AM
axuereb
Guest
 
Posts: n/a
Unhappy Please Help - Error while registering file msado20.tlb


Hi,

I have created a simple form in VB6 (on MS XP) which reads/writes to an MS Access 2000 database. I have created the .exe file and created the distribution package using VB's "Package
and Deployment Wizard".

Here comes the problem. When I install the package on another PC with Windows 98Se the installation setup gives me the "error while registering file C:\...\msado20.tlb

Your help would be greatly appreciated.

regards
AARON
Reply With Quote
  #2  
Old 06-26-2002, 06:28 AM
Banjo's Avatar
Banjo Banjo is offline
Hell's Angel

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Yorkshire, UK
Posts: 10,394
Default

Are you distributing msado20.tlb manually or are you using the MDAC_TYP.EXE to install the DB components? If you are not using MDAC_TYP then you should be.
__________________
A wise one man once said "what you talking about dog breath"
Reply With Quote
  #3  
Old 06-26-2002, 06:38 AM
axuereb
Guest
 
Posts: n/a
Default

First of all thanks a lot for your reply....

Sorry but I am a bit new to VB. I am currently using the VB Package and Deployment Wizard to create a package. Then I use this package to install the application. I am not installing anything manually. How can I use this MDAC_TYP you mentioned and what is it please?

regards
AARON
Reply With Quote
  #4  
Old 06-26-2002, 07:31 AM
Banjo's Avatar
Banjo Banjo is offline
Hell's Angel

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Yorkshire, UK
Posts: 10,394
Default

Right, you have to download it from www.microsoft.com/data. You then need to include it in the package and have the P&DW run it as part of the install process.

I'm sorry I can't give you exact details but I don't use the P&DW. If you can't figure it out, I'm sure someone else will give a more specific answer soon.
__________________
A wise one man once said "what you talking about dog breath"
Reply With Quote
  #5  
Old 06-26-2002, 07:58 AM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default

Also, version 2.0 is a very old version now. Consider upgrading to
at least 2.5 (the last version that directly supports Access/Jet).

The error you mention might be a known bug where the tlb file is
included in the setup.lst file with $(DLLSelfRegister) instead of
$(TLBregister).
__________________
Posting Guidelines
Reply With Quote
  #6  
Old 07-12-2002, 10:55 AM
Bryan
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Banjo
Right, you have to download it from www.microsoft.com/data. You then need to include it in the package and have the P&DW run it as part of the install process.
I can't seem to figure out how to tell the PD&W to run the MDAC_TYP as a part of the install process. can anybody help me with this?
Reply With Quote
  #7  
Old 07-12-2002, 11:04 AM
Bryan
Guest
 
Posts: n/a
Default

nevermind, I learned that it would automatically start the mdac_typ.exe itself.

However, when I installed the package, it ran the mdac_typ.exe first, then installed the program and I still got the error about the msado25.tlb

I am confused about this.
Reply With Quote
  #8  
Old 07-12-2002, 11:10 AM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default

I would manually uncheck it as one of the files to include in the
package wizard. It will be automatically included with mdac, but
adding mdac_typ doesn't keep the P&DW from trying to
dllselfregister it too. Only removing it from the package will work.
__________________
Posting Guidelines
Reply With Quote
  #9  
Old 07-12-2002, 11:27 AM
Bryan
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Thinker
I would manually uncheck it as one of the files to include in the
package wizard. It will be automatically included with mdac, but
adding mdac_typ doesn't keep the P&DW from trying to
dllselfregister it too. Only removing it from the package will work.
thanks thinker, you've been a great help lately
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->