Solved

vb5 program crashes on exit

Posted on 1997-05-28
3
255 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
Comment Utility
Adjusted points to 207
0
 
LVL 3

Expert Comment

by:rmichels
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

772 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

12 Experts available now in Live!

Get 1:1 Help Now