Title here
Summary here
Our first program will print the classic “hello world” message. Here’s the full source code.
To run the program, save the code in HelloWorld.vb
and use the Visual Basic command-line compiler.
Sometimes we’ll want to build our programs into executables. Visual Basic can compile the code directly into a .exe
file.
After running the vbc
command, you will have an executable named HelloWorld.exe
:
We can then execute the built executable directly.
Now that we can run and build basic Visual Basic programs, let’s learn more about the language.