[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

DBEngine failure

Posted on 1997-08-14
2
Medium Priority
?
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
y96andha earned 600 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…
Suggested Courses

649 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