|
||||
|
VB 102 Welcome to Visual Basic 102. Total running time is 67 minutes.
Lessons
Resources
Questions?Please feel free to post your questions or comments below. If you have questions about a specific lesson, please specify the lesson number and the time index in the lesson where the issue occurs. Thank you! Subscribe for UpdatesIf you would like to be notified whenever changes are made to this page, new lessons are posted, or comments are made, click on the subscribe button.
IntroIn this lesson, you will learn how to expand your programming skills in Microsoft Visual Basic 6.0 by working with more advanced IF-THEN-ELSEIF-ELSE statements, gathering user input with input boxes, and offering choices via combo boxes. We will also cover using variables, generating random numbers, adding comments to your code, and creating FOR loops. Plus, you'll see how to build an image viewer and a simple loan calculator. This is Visual Basic 102.TranscriptWelcome to Visual Basic 102 using Visual Basic, brought to you by 599CD.com. I am your instructor, Richard Rost.Let's go over the objectives for today's class. We're going to expand upon some of the material that we learned in VB 101, like the IF-THEN statement. We're going to expand it to include the ELSEIF and ELSE clauses today. We're going to teach you how to get input from the user in the form of an input box. We'll teach you how to let your users select from a list of options using a combo box. We're going to talk about variables and how they work to store temporary information in the computer's memory. We'll teach you how to generate random numbers. We'll show you how to properly comment your code. We'll learn how to use a FOR loop to loop through numbers. We'll have some fun creating an image viewer. And we're going to build a simple loan calculator at the end of class. This class does have a prerequisite of Visual Basic 101. We strongly recommend that you take VB 101 before taking this class. If you have not taken VB 101 yet, head on over to 599cd.com to get your copy. In this class, we're going to use Microsoft Visual Basic 6.0, along with Windows XP. This course is valid for any version of Windows. It does not matter what version of Windows you have. If you're using Visual Basic 5, you should not notice much of a difference at all. Likewise, VB.NET users should also be able to use the lessons in this course. Just make sure that you're using a Windows application. QuizQ1. Which statement is being expanded upon in this class compared to VB 101?A. IF-THEN B. SELECT CASE C. DO WHILE D. GOTO Q2. What is the main purpose of variables in Visual Basic according to the lesson? A. To store temporary information in the computer's memory B. To permanently store data on the hard drive C. To create graphical user interfaces D. To generate random numbers Q3. What new control will you learn to use for allowing users to select from a list in this class? A. Combo box B. Command button C. Text box D. Label Q4. How will users learn to generate random numbers in this course? A. Through Visual Basic programming techniques B. By using an external calculator C. By randomly pressing keys D. Through a database query Q5. What feature will be discussed so you can identify or explain parts of your code? A. Code commenting B. Database indexing C. Data encryption D. Network sharing Q6. What looping structure will be covered for repeating actions a certain number of times? A. FOR loop B. WHILE loop C. DO UNTIL loop D. SWITCH loop Q7. What type of simple application will you build at the end of this class? A. Loan calculator B. Web browser C. Video player D. Address book Q8. Which version of Visual Basic will be mainly used in this class? A. Visual Basic 6.0 B. Visual Basic 3.0 C. Visual Basic for Applications (VBA) D. Visual Basic 1.0 Q9. Is this course applicable for VB.NET users? A. Yes, as long as a Windows application is used B. No, only works in VB 6.0 C. Only on Mac OS D. Only if using databases Q10. What prerequisite is recommended for this class? A. Visual Basic 101 B. Access 101 C. SQL 101 D. C# 101 Answers: 1-A; 2-A; 3-A; 4-A; 5-A; 6-A; 7-A; 8-A; 9-A; 10-A DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks. SummaryToday's video from Visual Basic Learning Zone is Visual Basic 102 using Visual Basic, and I am your instructor, Richard Rost.In this class, I will build on concepts introduced in Visual Basic 101, such as the IF-THEN statement. Today, you will see how to enhance these conditional structures with ELSEIF and ELSE clauses to give your applications more flexibility in decision making. We will cover how to gather input from users with an input box and guide you through letting users choose from a selection of options using a combo box. Understanding how to use these controls is essential for creating interactive applications. You will learn all about variables and their role in storing temporary information in your computer's memory. I will also demonstrate how to generate random numbers, which can be useful for all kinds of programming scenarios, from games to simulations. Additionally, I'll show you the best way to comment your code so that both you and others can understand it later. We will explore how to use a FOR loop to iterate through numbers, a fundamental technique for automating repetitive tasks. To apply what you've learned, we'll put together a simple image viewer and, as a culminating project, build a basic loan calculator by the end of the class. Please note that this class assumes you already have a solid foundation in Visual Basic, specifically from taking Visual Basic 101. If you have not yet completed that prerequisite, I highly recommend visiting 599cd.com to get started with VB 101 before moving on to this course. For this class, I will be using Microsoft Visual Basic 6.0 on Windows XP, but the instruction applies to all versions of Windows. The version of Windows you use does not matter. If you are running Visual Basic 5, you will find minimal differences. VB.NET users can also follow along, as the lessons are applicable as long as you are working with Windows applications. You can find a complete video tutorial with step-by-step instructions on everything discussed here on my website at the link below. Live long and prosper, my friends. Topic ListUsing IF-THEN with ELSEIF and ELSEGetting user input with InputBox Creating and using combo boxes for options Understanding and using variables Generating random numbers Adding comments to your code Using FOR loops to iterate numbers Creating an image viewer application Building a simple loan calculator |
||
|
| |||