Solved

DBEngine failure

Posted on 1997-08-14
2
225 Views
Last Modified: 2006-11-17
I just installed an app that I wrote on a new machine. The app runs fine on my development machine, but dies on the econd machine. I isolated the error to the following line:

Set db =Engine.Workspaces(0).OpenDatabase("iqserver.mdb")

The error that occurs is 424: Object required. I wrote a program that basically tried to open and then close the database. It works on the devlopment machine and fails on the other machine. If I try to display DBEngine.version the app fails with the "Object Required" error. It shows 2.5 on the development machine. I think I have all of the required
OCX and DLL files on both machines. Any clues would be greatly appreciated.

BTW, this is a 16 bit app.

Thanks,
Bill

--
Bill Thompson
BBT Software
bbth@global2000.net
Time and place are fractions, God is an integer. - Meister Eckhart
0
Comment
Question by:bbth
2 Comments
 
LVL 5

Accepted Solution

by:
y96andha earned 200 total points
ID: 1430787
You need to register the files on the second machine. Use the VB setupkit to generate a setup application, when you run this it will automatically register all installed DLLs and OCXs. If the problem persists, you may have to remove the DLLs and OCXs before reinstalling.
0
 

Author Comment

by:bbth
ID: 1430788
Thanks, that's right. The proble was being caused by a faulty install setup that was not registering DAO2516.DLL even though it wasbeing copied. I created a new install setup and then it worked. We've now corrected the original install routine and it works too.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

758 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

21 Experts available now in Live!

Get 1:1 Help Now