Solved

Error 3041

Posted on 1997-07-23
2
733 Views
Last Modified: 2008-03-10
I have an 32 Bit VB4 application running under Win95 which has to manipulate a MS Access 2.0 MDB database file. I have tried both DAO 2.5 and DAO 3.0 to achieve this.
The main problem is that the app runs great on my PC (where it was developed) but refuses to run correctly on the  target PC; It just gives Error 3041 every time it attempts to open the database!
I suspect it's either a Registry entry or a DLL problem
0
Comment
Question by:sbowman
[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
 

Author Comment

by:sbowman
ID: 1428745
Edited text of question
0
 
LVL 1

Accepted Solution

by:
ywoedta earned 100 total points
ID: 1428746
i have oft found problems with the default visual basic installer.  if you are usuing the builder that comes with VB, then make sure you are registering the DAO2516.DLL properly - every time i had errors like you describe, if i manually registered the DLL, then everything worked great, and fixing the install also provided excellent results.  hope this helps you out.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

695 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