Перейти к содержимому

Visual Basic Validation Checks VB NET Beginners Programming Tutorial VB Input Validation

Passy's World of ICT

0:00 / 0:00

Visual Basic Validation Checks VB NET Beginners Programming Tutorial VB Input Validation

6 578 просмотров · 7 лет назад
Passy's World of ICT
3,03 тыс. подписчиков
6 578 просмотров · 7 лет назад
In this lesson we look at How to Check the Inputs which Users enter onto Screen Forms. This includes data they have typed in as well as selections they have made. This lesson continues on from the work covered in the Rectangle Perimeter and Area Lesson. It contains extensive input Data Validation, including using the "Focus" property to send the cursor to a single specific object on the Screen Form, immediately after a validation error has been detected. Although not absolutely essentail, we recommend that you have completed the Rectangle Perimeter and Area Lesson before doing this Detailed Validation Lesson. Use the Index Below to skip to various Index points in the video if you need to. 00:00 Lesson Intro and Overview 00:51 Validation Examples from the Rectangle Calculator Lesson 01:43 Stage 1 of Development - Main Processing only - No Validation 02:14 Program Testing with problematic "Homer Simpson" type Inputs 03:46 Validation - Existence and Prescence Checking 04:31 Program Crashes due to Empty and Blank Input 05:44 Data issues associated with Non-Metric Units 06:38 The Three Main Validation Techniques 07:56 Validation cannot guarantee Data Accuracy 08:46 The Two Coding methods for adding validation to a Program 10:23 Try...Catch... End Try Validation Method 12:07 Limitations of Try...Catch... End Try Validation 12:22 If...ElseIf...Else...EndIf Method for Validation 12:33 How to Make a Validation Check List 16:45 Dedicated DoValidation() Subroutine with If...Elseif...Else...Endif 21:50 Highlighting Validation Errors using Object Focus 24:50 Applying Post Validation Object Focus to Radio Buttons 25:28 Applying Object Focus to Combo Box Drop Down Lists 25:26 The Ready to Go Flag after Validation is complete 29:08 Standard Modularisation Framework for Program Validation 31:07 Testing all of the Validation is working correctly 33:56 Testing that Good Data Inputs give correct results 34:36 The 80-20 Rule for Program Development and Testing 35:08 Validation in other Programs 37:11 String Validation Using ASCII Codes 38:04 Getting the Free Resources for this Lesson 40:10 Information about the Full Programming Course 40:31 Video Wrap Up and Outro Visual Basic is a great beginner's programming language which can be used for developing prototype applications which run program code behind screen forms. This video will be useful for anyone learning Visual Basic, especially students doing VCE Computing or VCE Software Development high school courses in Australia. You can download a Free PDF hard copy of this presentation, as well as the MS Word step by step guide containing all of the instructions and programming code at the following link: https://tinyurl.com/y8httslt The Step By Step Word Document gives you all of the material including the Form Design and Program Code, which you can copy and paste from the Word document into your Visual Basic Project. You can check out our full Programming Course at the following link: http://passyworldofict.com/programming We are planning to make a number of Programming Videos that will be a great course for people to learn how to program in Visual Basic and Python. Like this video if you found it helpful. Subscribe to our Channel to get notified of our weekly video updates. Enjoy, Passy