Please Help - Error while registering file msado20.tlb

axuereb
06-26-2002, 04:48 AM
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

Banjo
06-26-2002, 06:28 AM
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.

axuereb
06-26-2002, 06:38 AM
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

Banjo
06-26-2002, 07:31 AM
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.

Thinker
06-26-2002, 07:58 AM
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).

Bryan
07-12-2002, 10:55 AM
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?

Bryan
07-12-2002, 11:04 AM
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.

Thinker
07-12-2002, 11:10 AM
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.

Bryan
07-12-2002, 11:27 AM
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

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum