January 2003
Beginner
696 pages
16h 38m
English
When an error occurs in a Visual Basic 6.0 application, the Err object fills with information about the last error that occurred. Your application is then thrown that error information, and the error is handled by the On Error code you wrote. In Visual Basic .NET, the Err object still exists, but for backward compatibility only. In C#, the Err object doesn't exist. To make your code compliant with the Common Language Specification (CLS), you must use the exception object from the System.Exception class in the Framework Class Library (FCL).
The Exception object contains the information you need about the last error that occurred in your application. When an error occurs, an Exception object is created. So, when ...
Read now
Unlock full access