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.

Run the example code from the EXE

Run the example code from the EXE - Visual Basic Tutorial

From the course: Visual Basic Essential Training

Start my 1-month free trial

Run the example code from the EXE

- [Instructor] Our application is a Windows application. We can run it in the usual ways. I'll start by running it in the consol. I'll type in the name of the executable, and press the enter key. That causes the application to run and the output is placed into my existing consol window. Let's see that again. Same results. The other way you can run it is from the file explorer. Double click on the exe file here. Did you see it run? It appeared on the screen for a brief time, then disappeared. Here it is again in case you missed seeing it. As I've said before, all VB programs must have a main method. This is also true for other .net languages like C#. Here's a high level view of what happens when a visual basic application runs on a computer. The window process starts and the dot net run time finds the main method. Unless otherwise instructed in the code statements, each line of code is run in the sequence. When…

Contents