|
|
New Project: |
Fire up your version of Visual Basic!
The 'New Project' window will appear..
Select Standard EXE and then click open!
CONGRATULATIONS, you have just created a new Visual basic project!
|
Execute Program: |
Execute your program by selecting:
Run -> Start.., Pressing "Play" or pressing the F5 key on your keyboard.
Exit your program by pressing "Stop".
It's as easy as turning on/off your TV..
|
Display Code: |

You can switch between 'Object View' and 'Code View' by pressing these buttons above the Project Explorer.
You can also doubble click your objects like your form..
|
Project Properties: |
You can change the name of your project by selecting:
Project -> Project1 Properties...
In this window you can alter the Project Name, Project Type, Statup Object, etc..
|
Project Explorer: |
You can browse the files in your project by using the 'Project Explorer' window.
For now we ony have one file the main form 'Form1.frm'.
|
Properties Window: |
In the 'Properties Window' you can edit the properties of all your objects.
Like caption, font, size, borders, background color, etc..
|
File Menu: |
     |
 |
Here you see your standard windows file menu with some other handy features.
MENU DESCRIPTION:
- Add Project, Add File, Menu Editor
- Open, Save, Cut, Copy, Paste, Find
- Undo, Redo
- Run (Execute Your Program)
- Pause (Pause Your Program)
- Stop (Exit Your Program)
- Project Explorer (Display The Project Explorer)
- Properties Window (Display The Properties Window)
- Form Layout Window (Display The Form Layout Window)
- Object Browser (Display The Methods Of The Objects)
- Toolbox (Display Your Visual Basic Tools Like Buttons, TextBoxes, etc)
- Data View Window (Open The Data View Window)
- Visual Component Manager (Open The Visual Component Manager)
|
Toolbox: |
As a Visual Basic application developer the Toolbox menu will be the menu that you "mostly use".
The Visual Basic Toolbox menu is used for drawing objects to a form.
To draw any object on a form, you always have to follow these steps:
1. Click on the object in the Toolbox to tell Visual Basic what you want to draw on a form.
2. Move the mouse pointer onto the form where you want to draw the object.
3. Hold down the left mouse button and drag the mouse to draw your chosen object on the form.
|
ICON:
| TOOL NAME:
| DESCRIPTION:
|
| Pointer
| Selects objects
|
| Picture box
| Draws a box to display graphics
|
| Label
| Draws a box to display text
|
| Text box
| Draws a box that can display text and let the user type in text
|
| Frame
| Groups two or more objects together
|
| Command button
| Draws a command button
|
| Check box
| Draws a check box
|
| Option (or radio) button
| Draws a radio button
|
| Combo box
| Draws a combo box
|
| List box
| Draws a list box
|
| Horizontal scroll bar
| Draws a horizontal scroll bar
|
| Vertical scroll bar
| Draws a vertical scroll bar
|
| Timer
| Places a timer on a form
|
| Drive list box
| Draws a drive list box that displays all the disk drives available
|
| Directory list box
| Draws a directory list box that displays a directory on a particular disk drive
|
| File list box
| Draws a file list box that displays files in a specific directory
|
| Shape
| Draws a geometric shape such as a circle or a square
|
| Line
| Draws a line
|
| Image box
| Draws a box to display graphics
|
| Data control
| Draws a control to link a program to a database file
|
| OLE
| Draws a box to insert an OLE object
|
|
|