12 Part I Getting Started with Microsoft Visual Basic 2010
Visual Studio loads and compiles the project into an assembly (a structured collection
of modules, data, and manifest information for a program), prepares the program for
testing or debugging, and then (if the compilation is successful) runs the program in
the development environment. While the program is running, an icon for the program
appears on the Windows taskbar. After a moment, you see the MusicTrivia form again,
this time with the photograph and answer label hidden from view, as shown here:
Music Trivia now asks its important question: “What rock and roll instrument is often
played with sharp, slapping thumb movements?”
- Click the Answer button to reveal the solution to the question.
The program displays the answer (The Bass Guitar) below the question and then
displays a photograph of an obscure Seattle bass player demonstrating the technique,
as shown here. The test program works.