Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Installation and dao350.dll 1

Status
Not open for further replies.

mans

Programmer
Mar 18, 2000
136
AU
Hi,<br><br>I have been having a very frustrating time trying to install a VB6 and Access2000 application on a new machine.&nbsp;&nbsp;I am using both the DAO and ADODC controls in the project, there is no problem with data access with the ADODC objects although I receive an error message when I try to access data using DAO objects following installation.&nbsp;&nbsp;The error says that I cannot register file dao350.dll and this is where the problem lies, why does it require dao350.dll (and sometimes goes on to inform me that msjet35, msjint35 etc is also required) when I am shipping dao360.dll.&nbsp;&nbsp;To my understanding dao360.dll is required for Access2000, not dao350.dll.&nbsp;&nbsp;I am shipping the files below with my installation package (amongst others of course).<br><br>mdac_ty version 2.1.2.4202.3<br>dcom98<br>jet40sp4<br>dao360.dll<br><br>I use the following code in VB to access the data in Access2000:<br><br>Private daoDB36 As Database<br>Private rs As DAO.Recordset<br>sPath = &quot;c:\DB1.mdb&quot;<br>Set daoDB36 = DBEngine(0).OpenDatabase(sPath)<br>Set rs = daoDB36.OpenRecordset(&quot;Select * From Table&quot;)<br>Set Data1.Recordset = rs<br><br>Can somebody please let me know why the application is looking for *35.dll and *35.exe files when I have not directly referenced them in the Package and Deploy. Wizard and in the project itself (only dao360 has been referenced in the project).&nbsp;&nbsp;Where should I start looking to fix this problem??<br><br>Thank You<br>
 
I spent alot of money on this issue. I wrote a program for a construction company and it worked fine on my machine.<br>It even installed correctly on the other machine. When I tried to run the program I recieved your error messages!<br><br>So after $285.00 for a Microsoft bug here's the problem:<br><br>You must include:<br>mdac_typ.exe (I think you already did)<br>vb5db.dll<br><br>if the users machine is running less than Window98<br>run dcom98.exe<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top