Solved

Exception Handling

Posted on 2000-03-12
1
173 Views
Last Modified: 2010-04-04
Hello,
I need to trap an EInOutError Exception in my program and create a message box to alert the user what he/she should do
next when the error appears.
How is this done.
Regards,
Frank
0
Comment
Question by:frw
1 Comment
 
LVL 2

Accepted Solution

by:
rene100 earned 100 total points
ID: 2609656
Hi

try this:

begin
try
  //code that raise teh exception
except
  On E: EInOutError do
     begin
     showmessage('error: do something!');
     end;
end;

regards
rene
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

759 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

21 Experts available now in Live!

Get 1:1 Help Now