|
1. Intro
- Introduction
- Objectives
- Goal
- Pre-Requisites
2. Definitions
- What is a program?
- What are objects?
- Properties, methods, & events
- What is Visual Basic?
3. Getting Started
- Our first program
- Starting Visual Basic
- New Project window
- What is a Project?
- Parts of the VB interface
- The toolbox
- Form1
- The Project Explorer
- Properties window
- Form layout window
- What is a Form?
- Creating a Command Button
- Object names
- Running your program
- Using the Code window
- What is a Subroutine?
- Proper indentation of code
- The MsgBox command
- Saving your Form & Project
- Creating a folder for your VB projects
4. Properties
- Resizing a Command Button
- Moving a button
- Setting the Caption property
- Command button caption
- Form caption
- Form background color
- Changing the Name of a button
- HelloButton
- "Breaking" your code when you change the button name
5. Labels & Text Boxes
- Creating a label
- Changing the label's caption
- Making the label transparent (BackStyle)
- Creating a TextBox
- Setting the default text in the box
- Setting the Name of the text box
- Displaying the value of a text box
- String values v. object values
- Compile error
- Syntax error
- String concatenation
6. Calculator Part 1
- Creating a basic calculator
- What is a Control Array?
- Assigning a value to a text box
- The VAL() function
- Adding two numbers
7. Calculator Part 2
- Creating additional command buttons
- Subtraction
- Multiplication
- Division
- Keyboard shortcuts (cut, copy, paste)
- Runtime errors
- Debugging your program
- On Error Resume Next
- IF/THEN statement
- Exit Sub
8. Compiling
- Make SimpleCalculator.exe
- Finding your EXE file
- Viewing file extensions
- Running your program from Windows Explorer
- Making a shortcut to your program
- Can I share my program?
- What is the Package & Deployment Wizard?
9. Review
- Review topics
- Skills check
- What's next? |