How to fix the errors in .Net

There are three types of errors that can occur in a Visual Basic Programming.
1. SYNTAX ERRORS/COMPILER ERRORS
2. RUNTIME ERRORS/EXCEPTIONS
3. LOGICAL ERRORS
Syntax Errors
Syntax errors, the easiest type of errors to spot and fix, occur when the code you have written cannot be “understood” by the compiler. The syntax error is also referred as Compiler error. This [...]

Author : Amir Sultan

Author's Website | Articles from Amir Sultan

There are three types of errors that can occur in a Visual Basic Programming.
1. SYNTAX ERRORS/COMPILER ERRORS
2. RUNTIME ERRORS/EXCEPTIONS
3. LOGICAL ERRORS
Syntax Errors
Syntax errors, the easiest type of errors to spot and fix, occur when the code you have written cannot be “understood” by the compiler. The syntax error is also referred as Compiler error. This type of error occurs when you make a mistake in writing the syntax in code editor. The following diagram will help you in detecting and fixing this error.

err01
Runtime Errors
Runtime error is that appears during the execution of program and causes the program to stop unexpectedly. The following diagram helps us to find how to identify it and fix it.
err02
Logical Errors
Logical errors are programming mistakes which cause the program produce wrong results. For example, if you have declared a variable as integer and now you are not able to find the fractional answer. This wrong result is due to programming mistake.
This type of error is harder to identify. And sometimes, it is hardest to test and fix the logical error.
Visual Basic .Net 2005 pays the most of attention to identifying logical errors in this revised version and introduced many tools to test and fix this type of error, because it is the most complicated type of errors.
err03

Like this post? Share it!

  • Tweet
  • Facebook
  • Diggit
  • Delicious
  • Diggit
  • Diggit
  • Diggit
  • Diggit
  • Diggit

Related Posts


Rss Feeds   Twitter Followers Email Updates


Community Feeds

There are no submissions added yet, be the first.

Submit More