From the course: Visual Basic Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Create a program loop - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Create a program loop
- [Instructor] For this video I want to look at how to write an indefinite loop inside the main method. Before I show you the code let's look at the project. To see this project you need to have it open, the correct branch from GitHub. So let's review that. Go to Team Explorer, go to Home, go to Branches, go to the remote section. This represents your connection to GitHub. Find 05-02, right click on that and choose checkout. Once you've checked out the code and have it in your local hard drive, go to Solution Explorer. And there'll be a solution called VB Essential Training. For this demonstration it has two projects. Example Console and Example Desktop. The code we're writing is an Example Console so make sure that the startup project by right-clicking and choosing set as startup project. Open up Module1.vb by double clicking on it. And there's some code I've already added to Sub Main. Recall that using console.read or…
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
(Locked)
Optimize the Visual Studio settings2m 14s
-
Create Console project in Visual Studio2m 29s
-
(Locked)
Examine the template structure and code2m 44s
-
(Locked)
Edit the code3m 51s
-
(Locked)
Compile the project code1m 58s
-
(Locked)
Run the example code from Visual Studio2m 49s
-
(Locked)
Run the example code with a debugger1m 51s
-
(Locked)
-
-
What applications can you create?2m 13s
-
(Locked)
Add additional projects to the solution2m 31s
-
(Locked)
Review the Visual Studio Project template code3m 33s
-
(Locked)
Choose a startup project3m 8s
-
(Locked)
Work with a Windows UI project3m 48s
-
(Locked)
Add click event handler code3m 13s
-
(Locked)
Add TextChanged event handler code2m 21s
-
-
-
Work with variables and constants4m 56s
-
(Locked)
Use the Code Explorer project1m 59s
-
(Locked)
Declare a variable6m 30s
-
(Locked)
Tips to make literals pop in the editor2m 34s
-
(Locked)
Work with custom and built-in constants3m 54s
-
(Locked)
Understand variable scope5m 42s
-
(Locked)
Understand numeric to numeric conversions5m 54s
-
(Locked)
Convert numeric values5m 43s
-
(Locked)
Convert and format numbers to string6m 39s
-
(Locked)
Convert and parse string to numbers5m 59s
-
(Locked)
Work with strings7m 11s
-
(Locked)
Work with dates and times9m 21s
-
(Locked)
Challenge: Strings, dates, and parsing52s
-
(Locked)
Solution: Strings, dates, and parsing2m 5s
-
-
-
Understand procedures and methods3m 42s
-
(Locked)
Add procedures to module3m 35s
-
(Locked)
Call procedures from the application1m 27s
-
(Locked)
Add procedures to class1m 50s
-
(Locked)
Add code to functions2m 22s
-
(Locked)
Use parameters with procedures4m 37s
-
(Locked)
Challenge: Refactor with parameters1m 14s
-
(Locked)
Solution: Refactor with parameters3m 9s
-
-
-
(Locked)
Explore the arithmetic operators3m 24s
-
(Locked)
Explore the comparison and logical operators5m 56s
-
(Locked)
If and Else5m 16s
-
(Locked)
Use the And, Or logical operators3m 13s
-
(Locked)
Use AndAlso, OrElse for better performance2m 48s
-
(Locked)
Select Case3m 30s
-
(Locked)
Challenge: Logic statements and string compare1m 50s
-
(Locked)
Solution: Logic statements and string compare3m 16s
-
(Locked)
-
-
(Locked)
Explore the collection classes5m 44s
-
(Locked)
Create new collections4m 49s
-
(Locked)
Add, remove, and interact with items from list8m 37s
-
(Locked)
Iterate over list5m 39s
-
(Locked)
Interesting list properties4m 42s
-
(Locked)
Work with extension methods2m 40s
-
(Locked)
Use LINQ with lists5m 14s
-
(Locked)
Quick look at other collection classes2m 19s
-
(Locked)
Challenge: Marble draw with lists3m 32s
-
(Locked)
Solution: Marble draw with lists4m 41s
-
(Locked)