Solved

vb5 program crashes on exit

Posted on 1997-05-28
3
260 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

831 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