Difference between revisions of "A Simple Visual Basic Example"

From Techotopia
Jump to: navigation, search
(New page: It is often helpful, when learning a new programming language, to start out with a very simple example. In this chapter we will create a small sample Visual Basic application. The purpose ...)
 
(Creating a New Project)
Line 3: Line 3:
 
== Creating a New Project ==
 
== Creating a New Project ==
  
The first step is to create a new project to contain our example Visual Basic Application. Start Visual Studio and select ''File->New project''. From the new project dialog select ''Windows Application'' and name the project 'myVBapp'' and click on ''Ok'' to create the new project. Once the new project is created Visual Studio will display a blank form ready for us to design the user interface of the application.
+
The first step is to create a new project to contain our example Visual Basic Application. Start Visual Studio and select ''File->New project''. From the new project dialog select ''Windows Application'' and name the project ''myVBapp'' and click on ''Ok'' to create the new project. Once the new project is created Visual Studio will display a blank form ready for us to design the user interface of the application.

Revision as of 17:45, 16 July 2007

It is often helpful, when learning a new programming language, to start out with a very simple example. In this chapter we will create a small sample Visual Basic application. The purpose of this example is to provide an early confidence boost for those completely new to Visual Basic by showing just how easy it is to create an application.

Creating a New Project

The first step is to create a new project to contain our example Visual Basic Application. Start Visual Studio and select File->New project. From the new project dialog select Windows Application and name the project myVBapp and click on Ok to create the new project. Once the new project is created Visual Studio will display a blank form ready for us to design the user interface of the application.