Solved

Error 3041

Posted on 1997-07-23
2
731 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

830 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