Playback starts YouTube’s embedded player (privacy-enhanced mode).
Visual Basic Beginner Tutorial - Getting Inputs to Add Two Numbers
ChannelPassy's World of ICTChapters
Description from the creator
In this tutorial we develop a simple program which adds together two User Input Numbers.
We start with the Application Design Process for the Form and the Program Pseudocode.
We then build the first version of the Application, which uses two different methods of obtaining User Input from the Form and converting it to numeric format.
The first method involves the Val() function, and the second method involves Casting as a Double CDbl() function.
We then test the application and find there are program crashing issues if the User leaves inputs blank, or enters any non-numerical input onto the Form.
Adding Input Validation using Try.... Catch... End Try is then added to pinpoint all data input errors and send message alerts to the User.
Finally we explain why Casting combined with Validation is the superior method for obtaining User Data Inputs.
Use the Index Below to skip to various Index points in the video if you need to.
00:00 Introduction and Overview
01:32 Application Design
02:36 Form Detailed Design
05:54 Create Form in Visual Basic
16:40 Save All of Project
17:13 Program Code Version 1
21:56 Code for the Clear Button
22:54 Blank Input Problems
23:51 Running Generated Application
24:21 Difference between Val() and CDbl()
25:21 Adding Try....Catch...End Try
27:29 Using CDbl() instead of Val()
29:05 version 3 using CDbl and Try...Catch...End Try
31:01 Lesson 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 using the following link:
tinyurl.com/ycn7ytcd
You can download the Copy and Paste Program Code using the following link
tinyurl.com/y8ddyr3x
We are planning to make a number of Programming Videos that will be a great course for people to do to learn how to program in Visual Basic and Python.
Like this Video if you found it useful.
Check out our Full Programming Course at the following Link:
passyworldofict.com/programming/
Like this video if you found it helpful.
Subscribe to our Channel to get notified of our weekly video updates.
Enjoy,
Passy
We start with the Application Design Process for the Form and the Program Pseudocode.
We then build the first version of the Application, which uses two different methods of obtaining User Input from the Form and converting it to numeric format.
The first method involves the Val() function, and the second method involves Casting as a Double CDbl() function.
We then test the application and find there are program crashing issues if the User leaves inputs blank, or enters any non-numerical input onto the Form.
Adding Input Validation using Try.... Catch... End Try is then added to pinpoint all data input errors and send message alerts to the User.
Finally we explain why Casting combined with Validation is the superior method for obtaining User Data Inputs.
Use the Index Below to skip to various Index points in the video if you need to.
00:00 Introduction and Overview
01:32 Application Design
02:36 Form Detailed Design
05:54 Create Form in Visual Basic
16:40 Save All of Project
17:13 Program Code Version 1
21:56 Code for the Clear Button
22:54 Blank Input Problems
23:51 Running Generated Application
24:21 Difference between Val() and CDbl()
25:21 Adding Try....Catch...End Try
27:29 Using CDbl() instead of Val()
29:05 version 3 using CDbl and Try...Catch...End Try
31:01 Lesson 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 using the following link:
tinyurl.com/ycn7ytcd
You can download the Copy and Paste Program Code using the following link
tinyurl.com/y8ddyr3x
We are planning to make a number of Programming Videos that will be a great course for people to do to learn how to program in Visual Basic and Python.
Like this Video if you found it useful.
Check out our Full Programming Course at the following Link:
passyworldofict.com/programming/
Like this video if you found it helpful.
Subscribe to our Channel to get notified of our weekly video updates.
Enjoy,
Passy
About this tutorial
Passy's World of ICT published this 31:58 video tutorial on November 9, 2019. It has been watched 4,712 times on YouTube.
- Channel
- Passy's World of ICT
- Category
- Education
- Duration
- 31:58
- Published
- November 9, 2019
- Views
- 4,712
- Likes
- 24
Tags
Share
This tutorial in other languages
- FRVisual Basic Débutant Tutorial - Obtenir les entrées à ajouter deux numéros
- ESVisual Basic Principiante Tutorial - Conseguir entradas para sumar dos números
- PTVisual Basic Beginner Tutorial - Como Entradas para somar dois números
- ITVisual Basic per principianti Tutorial - Getting Ingressi a sommare due numeri
- DEVisual Basic Anfänger Tutorial - Erste Eingänge hinzufügen zwei Zahlen
- NLVisual Basic Beginner handleiding - Aan de ingangen van Voeg twee nummers
- RUVisual Basic для начинающих Учебник - Получение входов для добавления двух чисел
- PLVisual Basic Początkujący Tutorial - Pierwsze Wejścia dodać dwa numery
- JAVisual Basicの初心者チュートリアル - 入力を取得する2つの数値を追加します
- ARالبصري الأساسية للمبتدئين دروس - الحصول على المدخلات لإضافة رقمين
- HIविजुअल बेसिक शुरुआती ट्यूटोरियल - इनपुट हो रही दो संख्याओं को जोड़ने के
- IDVisual Basic Pemula Tutorial - Mendapatkan Input untuk Tambah Dua Nomor