Solved

Exception Handling

Posted on 2000-03-12
1
174 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 79
drawing animated level bar based on numbers 3 88
Create a path if not exists 7 69
Base1 Encode/Decode 3 67
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

22 Experts available now in Live!

Get 1:1 Help Now