Legal Information
PC Knowledge Base - Start Visual Basic Coding

Good Knowledge Is Good2Use

The following are the first steps to begin a program
  1. Go to the properties window and change the form caption to the desired title. The box opposite Caption is used to type in the name.
  2. In the properties window, click on Form and enter the name of the screen (form)
  3. To change the background colour click on BackColor in the Properties window. A drop down arrow appears to give a range of colours as opposed to entering a hex value.
  4. You will need to create some form of starting inputs screen. An example is shown below of a screen for a program that calculates cylinder volumes.

    The following describes how each part of the screen is defined
    1. Draw the Display Panel by clicking on the Label button and place your mouse on the form. Start drawing by pressing down your mouse button and drag it along. In the Properties window type in the name of the label, highlighted as Name. Click on Caption to enter the test that will appear in the label.
    2. After that, draw Text Boxes and clear their text contents, in the Properties window clear the field marked Text, so that you get empty boxes. The Name field in the Properties window will need to be set to some meaningful label. This value is likely to be used within the program.
    3. Lastly, insert a command button and change its Caption to a meaningful value and its Name to a value to be used in the Program.


Search Knowledge Base Feedback
If you like our web site refer a friend.
Your friends name.
Your friends email address.
Your Name
Your Email Address


© Copyright 1998-1999 GOOD2USE