O'Reilly logo

Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition by Harvey M. Deitel - Deitel & Associates, Inc., Paul J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.6. Using Visual Programming to Create a Simple Program that Displays Text and an Image

In this section, we create a program that displays the text “Welcome to Visual Basic!” and an image of the Deitel & Associates bug mascot. The program consists of a single form that uses a Label and a PictureBox. Figure 2.27 shows the result of the program as it executes. The program and the bug image are available with this chapter’s examples. You can download the examples from www.deitel.com/books/vbforprogrammers2/index.html. Please read the Before You Begin section of the Preface to ensure that you install the examples correctly on your computer.

Figure 2.27. Simple program executing.

To create the program whose output is shown ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required