catch error in VB

  • Thread starter Thread starter Mr. x
  • Start date Start date
M

Mr. x

Hello,
I am using vb.net.
How can I catch an error/exception in program.

In C it :
try
{
}
catch
{ ...
}

How is it on VB.NET ?

Thanks :)
 
Hello,

Mr. x said:
I am using vb.net.
How can I catch an error/exception in program.

In C it :
try
{
}
catch
{ ...
}

How is it on VB.NET ?

\\\
Try
...
Catch
...
End Try
///
 
Mr. x said:
Hello,
I am using vb.net.
How can I catch an error/exception in program.

In C it :
try
{
}
catch
{ ...
}

How is it on VB.NET ?

Thanks :)


<F1>
VS.Net
VB and C#
Reference
VB language
Tour
-> Exception handling
 
Back
Top