Tutorial: Programming in Visual Basic 6.0
This tutorial contains a beginner’s guide to Visual Basic 6.0, introducing the programming environment, defining key terms and introducing exercises to demonstrate the five control structures (sequence, selection: binary and multiway, iteration: pre and post test).
Students learn to implement a fully tested and documented software solution in a methodical manner. (SDD syllabus, p.51)
The following headings may help you navigate:
Activity 1: Welcome screen and menu editor
Activity 2: Event handlers and scroll bars
Naming conventions
Data types, variables and functions
Activity 3: Messages and input boxes
Activity 4: Create a calculator and avoid division by zero
Sequence
Binary Selection
Activity 5: Measurement converter
Multiway selection
Activity 6: Multiway selection
Activity 7: Control arrays
Iterations
Activity 8: Pre-test loops
Activity 9: Post-test loops
Activity 10: Random number generator
Activity 11: Using a counter in a pre-test loop
Activity 12: Nested FOR loops and arrays
Organising your first project
The first step is to create a project template within VB, to organise and store your work. This will consist of a menu structure with headings that will let you access the many exercises and examples you complete.
Get pdf
Related Tutorial
Tags: control arrays, control structures, event handlers, input boxes, measurement converter, menu editor, menu structure, methodical manner, naming conventions, post test, programming environment, project template, random number generator, scroll bars, sequence selection, test loop, test loops, test students, welcome screen, zero sequence
Comments
Leave a Reply