Nov 21 2011, 01:15 PM
If we want to make our program more powerful and stylish, we need to stop it from crashing on Overflows & Errors, so we use this code to prevent it from crashing, & instead reporting the Error or the cause..
We use these two Methods like this:
We use these two Methods like this:
Code:
try
{
//What you want...
}
catch (Exception ex)
{
Messagebox.show (ex.message);
}![[Image: bxj6gaq99c9hyvinfkvn.jpg]](http://clients.war-lords.net/imghost/images/bxj6gaq99c9hyvinfkvn.jpg)
![[Image: w0l5y0.png]](http://i45.tinypic.com/w0l5y0.png)


![[-]](https://war-lords.net/forum/images/collapse.png)