Solved

vb5 program crashes on exit

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 55
Determine Range to Select 5 48
VBA Shell can't Find Word document 11 94
Recommendation vb6 to vb.net or others 14 149
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…
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…

777 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