Solved

How to create vb6 installation with access databes correct?

Posted on 2002-03-19
5
474 Views
Last Modified: 2013-12-25
I use vb6 and ado with an access database.
I use Wise for Windows Installer 4.
I am new to Wise installation software.
How to get the right version of mdac?
Should I use Package Wizard for access to get a runtime version?
I get this error message when I try install the software!
Error 1904: path...\masdo25.tlb to register. HResult - Contact your support personnel.

I don't know where this module should be.
How sholud I do in order to succed with the installation or where can I get the information I need to make the installation correct?
0
Comment
Question by:PerStrand
  • 3
5 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6880401
you shouldn't distribute msado25.tlb. you need to distribute MDAC_TYP.EXE

find vb6dep.ini on your PC, open it, find the "MSADO20.tlb" section, copy it and paste it just under and change MSADO20 for MSADO25
0
 

Author Comment

by:PerStrand
ID: 6880604
This is what I find in vbdep.ini

[MSADOR15.dll]
Dest=$(CommonFilesSys)\ADO
Replace Conditional=mdac_typ.exe
CABFileName=mdac20.cab
CABDefaultURL=http://activex.microsoft.com/controls/vb6
CABINFFile=mdac20c.inf

[MSADO15.dll]
Dest=$(CommonFilesSys)\ADO
Replace=mdac_typ.exe
CABFileName=mdac_typ.cab
CABDefaultURL=http://activex.microsoft.com/controls/vb6
CABRunFile=setup.exe

When I run the performing validation in Wise for Windows Installer I get this respons!

The file msado25.tlb is installed in a shared directory without the Shared DLL Reference Count flag set.
File Key: msado25.tlb

The file is put on
C:/Program files/Common files/SYSTEM/ADO/msado25.tlb

What to do!
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 100 total points
ID: 6880631
insert this section

[MSADO25.tlb]
Dest=$(CommonFilesSys)\ADO
Replace=mdac_typ.exe
CABFileName=mdac_typ.cab
CABDefaultURL=http://activex.microsoft.com/controls/vb6
CABRunFile=setup.exe
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7060585
This question appears to be abandoned. A question regarding it will be left in the Community Support
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7065665
Thanks, emoreau  for your help here.

I have finalized this question, and will monitor it for comments.

Moondancer - EE Moderator
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
passing parameter in sql procedure 9 61
Crystal reports - Formula Field code need assistance with code 17 60
vbModal 12 51
MS Access 03, TransferText, decimal places 8 67
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

815 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now