From the course: Visual Basic Essential Training

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

Run the example code from Visual Studio

Run the example code from Visual Studio - Visual Basic Tutorial

From the course: Visual Basic Essential Training

Run the example code from Visual Studio

- [Narrator] Now that we've compiled the code, we can run the console application. I could go out to the File Explorer and find the executable there. I can also see the executable in the Solution Explorer by turning on show all files, click this button here, and then our executable is in this bin directory. It's in a subfolder called Debug. Now why it's in this folder is because there's two choices by default for compiling our code. I can do a debug build or a release build. The default is a debug build. That means the executable gets placed in the Debug folder, and then below that is the .net8.0 folder. That's because I chose to compile this to .net8, and inside this is the executable. There it is. Now I could run it from here, but rather than having to use the Solution Explorer and drill down to the correct folder, I can just run it directly from the Debug menu. I'll choose Start Without Debugging. The important word in that menu is start. In other words, run the executable. So…

Contents