Solved

vb5 program crashes on exit

Posted on 1997-05-28
3
257 Views
Last Modified: 2012-06-27
Hey,
I am writing a database interface with vb5 which is running the way that i want but when i exit the program a dialog box appears saying error: This program has performed an illegal operation and will be shut down. Under the dialog details it says there was an invalid page fault in module vb5db.dll.

Then when i hit close, I get another one on dbgrid32.ocx.

Any ideas?

Thanks,
Eric J. Chartrand
chartej@eng.auburn.edu
0
Comment
Question by:chartej
3 Comments
 

Author Comment

by:chartej
ID: 1426614
Adjusted points to 207
0
 
LVL 3

Expert Comment

by:rmichels
ID: 1426615
I have seen numerous questions about VB5 crashing on exit (and other ways) in the various VB 5 newsgroups. Microsoft is coming out with a VB5 patch (when I don't know) that is supposed to address many of the problems people are encountering with VB5
0
 
LVL 1

Accepted Solution

by:
Amberite earned 200 total points
ID: 1426616
This is not a VB5 error, as rmichels pointed out.  A DLL is probably corrupted (in this case, vb5db.dll). You have two options: 1) Totally uninstall VB5 (Keep all your projects), then reinstall, which will give you a new vb5db.dll... or 2) Download Microsoft RegClean from their site, and allow it to fix errors in registry, which might fix the problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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…

911 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

22 Experts available now in Live!

Get 1:1 Help Now