Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

trapping a windows runtime error

Posted on 2000-02-28
3
Medium Priority
?
316 Views
Last Modified: 2010-05-02
I'm writing a program and it has error trapping using the on error statement , but the program is crashing when it tries to execute a form.show command.....

the crash is a major crash and is not being trapped with the vb on error statement handler...the crash is a windows crash.....VB is not trapping the error, and the error message is from window, not vb

"this program has performed an illegal operation and will be shut down....if the problem persists contact the program vendor"

What could be happening to cause a huge error like this, i'm not allocating memory or using any user classes, it is just using forms and processing data?, and is there a way to trap a windows error some other way than with on error goto?  Thanks.
0
Comment
Question by:vbdvlper
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
Dalin earned 200 total points
ID: 2566447
This is not a trappable problem.

 Try this first:
1. Close all window programs
2. Start eindows explorer
3. Goto the temp folder in windows (maybe called Window95/Window98/Windows)
4. Delete all the files in temp ( I bet you have  alot of files there, they are just junks)
5. Reboot computer.
6. Try to run the app again.

If the problem still come out,  click the [Details].  It should list some infor.
Copy and paste the infor here and we can go from there.  
0
 

Author Comment

by:vbdvlper
ID: 2566570
Dalin,

Thank you....The runtime error is not there anymore....the error message was a segmentation error i think....before rebooting, i was tracking the error by debugging running line to line....the program crashed during a form.show command...

in development mode, i typed the form name frmPR3Max. when i typed the . windows had an segmentation error.... it has not been crashing since rebooting.....

the program is reading in large text and xls data files and plotting and formatting data to analyze with excel, i am in development stage and debugging....
0
 

Author Comment

by:vbdvlper
ID: 2566647
i'm not sure of the cause, but, the program was crashing during form.show event....error goes away, but sometimes reappears....seems to be no error now...thanks..
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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

971 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