Starting up VB, saving and opening files
1. Run VB - go to the Start button then
Programs -> Microsoft Visual Studio 6.0 -> Microsoft Visual Basic 6.0

2. Start a New Project - say
OK to Standard exe

3. You will see a window titled
Form1 -
This is where you will display instructions to the user and where the user will see the output from            your program

4.Double click in an empty, grey area of the form - this will open the
Code window
This is where you will type in the VB code to make your program run

In the examples we will use in this unit you will type your code between the words

Private Sub Form_Load()   and    End Sub
- this will all be explained later, so don't worry!!!


Saving your work


There are 2 stages to saving each VB
Project

1 - save the form that you have designed as the user interface
2 - save the VB code that you have written

To save your work :

1. Go to the
File Menu
2. Click on Save Project As..
3. Make sure that you Save in A: if you want to save the work to floppy disk
4. Save your
Form - give it a sensible name that tells you what the program does
5. A new window will now open where you save your
project - give it the same name as the form
6. Once you've done this you can just click on the f
loppy disk icon (just like word) to save from now on
  


Re-opening a saved project

1. Open VB as above
2. Click on the
File menu and select Open Project - or click the folder icon in the top bar
3. Make sure you are looking in the correct location in the
Look in box - probably Floppy A
4. Double click on the name of the project you want to open - your project should now open
Back to Main Page
Hosted by www.Geocities.ws

1