From the course: Visual Basic Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Create a program loop

Create a program loop - Visual Basic Tutorial

From the course: Visual Basic Essential Training

Start my 1-month free trial

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…

Contents