|
|
Sign In Link to us |
|
Home 1. Introduction 1.1 Aims of the training 1.2 Layout 2. Introducing VB 3. Projects 4. Containers 5. Controls 6. Code 7. Forms 8. Debugging Code 9. Error Handling 10. Objects 11. User Controls 12. Data Projects 13. API 14. Distribution
|
1. Introduction1.1 Aims of TrainingThe aim of this free training course is to provide a beginner level introduction to the Visual Basic programming language. No previous knowledge of Visual Basic is assumed, although contact with Windows is required.By the end of the course, it is envisaged that users will have a working knowledge of the main aspects of Visual Basic. However, there are so many third party libraries and controls available that it is impossible to cover all of them. This site therefore concentrates on common Visual Basic functionality, with some reference to how an external library or control can be used. Users should follow this site as a framework to general training. Not every aspect of the Visual Basic language will be covered in great detail, as some of the information contained herein will already be familiar to some users. At some point in the future, we hope to expand this site to allow for discussion of key points. Users are encouraged to make notes as they progress through the site, developing the Visual Basic projects as they go. 1.2 Layout1.2.1 ExercisesThroughout the site, important points are reinforced using an 'Exercise' box. If the Exercise has an associated number, users are encouraged to save the completed Exercise into a unique folder, for future reference. Numbered Exercises may also be required in a subsequent Exercise, so it is important that each version is saved. Exercises will always appear as follows:
Exercise #####: Exercise instructions Exercises which you are not expected to save (they may only be used to familiarise users with a menu or dialogue screen in Visual Basic) will not be numbered. Each user should complete all of the exercises, as they form an extremely important part of the training. In situations where you can't complete an exercise, a completed exercise will be available for download, however, this is not anticipated to be necessary.
1.3.2 Note Notes are made in a box and are coloured differently to the normal text. A note looks like this:
Note:
Important points or new developments are highlighted like this.
1.3.3 Sample Code In order to coach programming practice, it is often necessary throughout this document to give samples of the code. These samples should be used as a guide to the grammar and context of the associated text. Sample code is shown as an indented 'script' type font, as follows:
Private Sub ShowCode() MsgBox "Hello, world!" End Sub <<Home : Top : Page 2>> |