get the error string

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

Mr. x

Hello,

If I did :
try
... do something
catch
... do something
end try
....

How can I get the last error string, and last error code ?
Is there any list somewhere on the internet of all error codes in VB ?

Thanks :)
 
Mr. x said:
If I did :
try
... do something
catch
... do something
end try
...

How can I get the last error string, and last error code ?

\\\
Try
...
Catch ex As Exception
MsgBox(ex.Message)
End Try
///
Is there any list somewhere on the internet of all error
codes in VB ?

You will find descriptions of the exception classes and where the exceptions
are raised in the online documentation.
 
Back
Top