How to trap Exception Error "Timeout Expired"

Chrisaldi

Active member
Joined
Jan 30, 2004
Messages
26
Hi to all!

I would like to ask if How can I replace the Exception Error "Timeout Expired" to any message that the user can understand?

Any help will do..

Thanks!!
 
Code:
try
code that times out
catch ex as timeoutexception
messagebox.show ("Your message here")
end try

for future reference could you please not post the same request across multiple forums, if you post it to the correct forum people will reply - there is no need to post the same question to both the VB and C# forums.
 
Last edited by a moderator:
Originally posted by PlausiblyDamp
Code:
try
code that times out
catch ex as timeoutexception
messagebox.show ("Your message here")
end try


Your The MAN Sir PlausiblyDamp !!!!
Thanks a lot!!
 
Back
Top