Visual Basic 2010 Express Tutorial 6 - Data Parsing Error Checking and An User Friendly Interface
 

Visual Basic 2010 Express Tutorials - Tutorial 6 - Data Parsing Error Checking and An User Friendly Interface



Notes:


Data Parsing is more powerful than using VAL() STR(). The code for parsing is  the datatype.parse


Examples


Integer.Parse

Single.Parse

Double.Parse


Error Handling:


Try

  Code
Catch

  Code

End Try


When there is an error, like typing “A” when a integer is expected will cause an error. The error is caught and the code within Catch is run.



Tutorial 6 Download:


VBT6.zip



Video Tutorial:

Previous Tutorial                 Next Tutorial