Link to home
Start Free TrialLog in
Avatar of zeesaint
zeesaint

asked on

Cannot register msado20.tlb

I wrote a program and make its installation package with package n development wizard.

On installation everything goes fine but at the end an error message is receiving that "cannot register msado20.tlb"  because of this the Link in the programs list is not set.  could anyone guide me what is the reason for this and how I could get rid of it.

I have used ADODB and connection is made by module.
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

see: http://visualbasicforum.com/showthread.php?t=67444

Otherwise you can try to create a setup-package with innosetup (http://www.jrsoftware.org/isinfo.php)
Avatar of zeesaint
zeesaint

ASKER

Thanx emoreau for your timely help.

I have checked the link u said and did as was instructed.  Now I am not having the registery failure message but still having one problem and that is

after installation, when I go to run the installed system from program menu the link to the .exe is not set and as I click on the installed system name, it goes to search for the .exe

Tell why is this so and how to handle it

thanx
is your application .exe is in the folder you selected to install it?
yes the .exe file is included in the installation package in the support folder.

After installation a copy of .exe is created at drive:\program files\abc\xyz.exe
where abc and xyz are fictitious names of the folder and .exe file
Have you modified the link to your application? what is your setup.lst file looks like?
The Setup.lst file contains the following settings

[Bootstrap]
SetupTitle=Install
SetupText=Copying Files, please stand by.
CabFile=Masoom Sales 1.0.CAB
Spawn=Setup1.exe
Uninstal=st6unst.exe
TmpDir=msftqws.pdw
Cabs=1

[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,6/18/98 12:00:00 AM,102912,6.0.81.69
File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
File3=@MSVCRT40.DLL,$(WinSysPathSysFile),,,5/31/98 12:00:00 AM,326656,4.21.0.0
File4=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,4/22/03 2:34:00 AM,16896,2.40.4522.0
File5=@ASYCFILT.DLL,$(WinSysPathSysFile),,,4/22/03 2:34:00 AM,143632,2.40.4522.0
File6=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,4/22/03 2:34:00 AM,164112,5.0.4522.0
File7=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,4/22/03 2:34:00 AM,626960,2.40.4522.0
File8=@MSVBVM60.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,4/22/03 2:34:00 AM,1385744,6.0.96.90

[IconGroups]
Group0=Masoom's
PrivateGroup0=True
Parent0=$(Programs)

[Masoom's]
Icon1=""Masoom Sales 1.0""
Title1=Masoom's Sales 1.0
StartIn1=$(AppPath)

[Setup]
Title=Masoom's Sales 1.0
DefaultDir=$(ProgramFiles)\Masoom Sales
AppExe=Masoom Sales 1.0.exe
AppToUninstall=Masoom Sales 1.0.exe

[Setup1 Files]
File1=@MDAC_TYP.EXE,$(AppPath),,$(Shared),6/26/98 12:00:00 AM,8124720,4.71.1015.0
File2=@RDOCURS.DLL,$(WinSysPath),,$(Shared),9/17/98 2:20:54 AM,151552,5.0.81.69
File3=@MSRDO20.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),9/17/98 2:20:50 AM,393216,6.0.81.69
File4=@MSSTDFMT.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),12/15/04 12:55:34 PM,118784,6.0.81.69
File5=@MSDBRPTR.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/18/98 12:00:00 AM,299008,6.0.81.69
File6=@MSBIND.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/18/98 12:00:00 AM,77824,6.0.81.69
File7=@MSDERUN.DLL,$(CommonFiles)\designer,$(DLLSelfRegister),$(Shared),6/9/98 12:00:00 AM,137216,6.0.0.3005
File8=@MSDATGRD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,260920,6.0.81.69
File9=@MSCOMCT2.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/26/98 12:00:00 AM,644400,6.0.81.77
File10=@MSCOMCTL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),7/28/98 6:01:56 PM,1062704,6.0.81.77
File11=@TABCTL32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,209192,6.0.81.69
File12=@MSADODC.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,118064,6.0.81.71
File13=@msado20.tlb,$(WinSysPath),$(TLBRegister),$(Shared),4/22/03 2:34:00 AM,61440,2.53.6200.0
File14=@VB5DB.DLL,$(WinSysPath),,$(Shared),6/18/98 12:00:00 AM,89360,6.0.81.69
File15=@MSREPL35.DLL,$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,407312,3.51.623.0
File16=@MSRD2X35.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,4/24/98 12:00:00 AM,252176,3.51.623.0
File17=@expsrv.dll,$(WinSysPathSysFile),,,4/22/03 2:34:00 AM,380957,6.0.72.9589
File18=@vbajet32.dll,$(WinSysPathSysFile),,,4/22/03 2:34:00 AM,30749,6.0.1.9431
File19=@MSJINT35.DLL,$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,123664,3.51.623.0
File20=@MSJTER35.DLL,$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,24848,3.51.623.0
File21=@MSJET35.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,4/24/98 12:00:00 AM,1045776,3.51.623.4
File22=@DAO350.DLL,$(MSDAOPath),$(DLLSelfRegister),$(Shared),4/27/98 12:00:00 AM,570128,3.51.1608.0
File23=@Masoom Sales 1.0.exe,$(AppPath),,$(Shared),1/1/05 1:47:08 PM,659456,1.0.0.0

; The following lines may be deleted in order to obtain extra
; space for customizing this file on a full installation diskette.
;
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXX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XXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I would remove the "1.0" from the application name
I tried to recompile the application without using "1.0" but now I got an error message on the main page at

"Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)"

the error message is "object library not registered"

comment the toolbar1_buttonclick event and recreate the event using the 2 combos from the top of your code editor. The signature of this event might have change (for example if you installed a service pack).

hello emoreau
I've got another prob.
The package wizard goes fine, installation goes fine without any error.
When I runs the installed application all the entries goes fine and updates the database but the problem starts when I try to get the reports.  When ever I try to generate a report a small pop up window opens and asks about the database that
which user should connect to the database and ask to enter the password
where as I kept my database open without any password.

tell me why is this so and what to do about it
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial