Vb Interface


© Swapna Kamat
Articles in this Topic    Discussions in this Topic

Vb Interface

In this article, we shall try to familiarize our self to the VB 6 environment. As many other Windows application, Visual Basic 6 shows  multi-document interface (MDI). The Visual Basic environment contains several windows with which you will work as you build applications. As with most windows used inside Windows applications, you can move, resize, and close the five windows. Use the mouse to make working with windows simple. The best way is to resize the windows to a optimum size so that not much of the screen is taken and your working is not hampered at the same time.

The Visual Basic 6 environment basically shows the following five windows (panes)

  1. Form
  2. Project
  3. Properties
  4. Toolbox
  5. Code

We will study each window-pane in detail

Form

Contains the background for the Windows program that you are writing. You draw and place items on the form that your program's user will eventually see and interact with. If you use a Windows word processor, the form would hold the document that you are  editing. Although not every Visual Basic program requires forms, most do because most Visual Basic programs exist to display information for, and retrieve information from, the user. You can consider the form to be your interface via which your application interacts with the user.

Project

A Visual Basic Windows program often contains several different kinds and types of files that all work in unison to form the single running application. The Project window contains the list of all the files used in the current application. Given the common Visual Basic terminology, a Visual Basic application is generally called a project. The Project window contains the contents of the project. The Project window is simply a description of the files but the files all reside separately on the disk.

Properties

The Properties window describes every individual element in your application. For example, there is a Properties window for a project's form because the form contains properties such as color and size. As you place controls from the Toolbox window onto the Form window, each of those controls has its own properties. Although any one Visual Basic program might have several elements with properties, there is only one Properties window. When you want to see the properties of a different form or control, you change the Properties window to display another set of properties.

Toolbox

The Toolbox window contains your tools with which you add functionality to your application. You need to know that the tools of Visual Basic are more often called controls. The toolbox is where you will find controls that you will place on

Go To Page: 1 2


Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo


Here's the follow-up discussion on this article: View all related messages




Join the latest discussions

For a complete listing of article comments, questions, and other discussions related to Swapna Kamat's Learning Visual Basic topic, please visit the Discussions page.