Solved

Error 3041

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

773 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