Home
Contact
Links
Lyrics
Tablature
Thoughts
Visual Basic
Web Design
What's New
Site Map
Site Designed By
J.T.S. DESIGN, INC.
Jeff T.S.'s Homepage

Visual Basic

Terms & Definitions
Program Set of instructions that tell the computer how to perform a given task
Operating System Master control program for the computer
Utility Performs a task to help manage a computer and it's resources
Application Performs a particular task for the user
Inhouse Development When the user makes the program itself
Outsourcing Someone is hired to create the program
User Person who uses the program
Programmer Person who creates programs
Database Organized set of data stored on a computer and managed by a special application called a database management system
Programming Environment Program specifically designed to facilitate the creation of new programs
Programming Tools Enable a programmer to assemble and rearrange the components of a program
Programming Language Enables a programmer to compose instructions that tell the computer how to perform the tasks required by the program
Processing Script Contains instructions the computer will follow
VB Controls Objects that appear on the user interface
Executable File Ffinished application program
Design Mode Enables a programmer to build and modify the project
Run Mode Enables a programmer to run the project and interact with it
Break Mode Enables a programmer to temporarily suspend execution of the running project and examine the status of the project's processing scripts
Debugging Task of determining the cause of the problem when the project doesn’t run as expected
Design Time When Visual Basic is in design mode
Run Time When Visual Basic is in run mode or break mode
Project Consists of one or more forms, zero or more code modules, zero or more class modules, and zero or one resource file
Form Background of the GUI (Graphical User Interface)
Consists of one general declarations, zero or more general sub procedures, and one or more controls
Code Module Has one general declerations and zero or more general sub procedures
Class Module Has components similar to a code module
Resource File Self-contained
Control Has one or more properties and zero or more event procedures
Property Attribute that defines some characteristics of a control
Caption Enables the programmer to specify the descriptive text that appears on the command button
Event A signal that is generated at run time that indicates something has happened to which the application must respond to
Event Procedure Script containing detailed instructions that the computer follows when the event occurs for a particular control
Command Button Acts as a trigger to initiate execution of an event procedure
Font Property Determines typeface that will be used for the text
Enabled Property Determines if the button will respond when the user clicks on it
Visible Property Determines if the button can be seen by the user
Name Property Allows the programmer to assign a unique name to each control
Click Event Caused by clicking on the command button with the mouse
MouseMove Event Occurs when the mouse pointer is over the command button and the user moves the mouse
Label Control Displays information to the user
Timer Control Initiates execution of an event procedure
Interval Property Determines the length of time, in milliseconds, before the timer will initiate a processing step
Timer Event Generated periodically by the Timer Control itself
Image Control Allows programmer to place pictures on the form
Menu Bar Gives access to many functions needed to create projects
Form Window Comprises the form and the controls on the form
Toolbox Collection of tools that are used at design time to place controls on a form
Default Settings Initial predefined settings
Properties Window Used at design time to examine and change the settings for properties of each control on the form
Code Window Allows the programmer to view, edit, and write event procedures
Project Window Lists project’s forms, code modules, class modules, and resource file(s)
Statements Instructions to the computer to perform particular actions
Zero-length String Two double-qoutation marks with nothing between them
Project File Used to keep track of paths and names of all files belonging to the project
Form File Contains the form and all of its contents
lbl Prefix used for all controls that are Labels
cmd Prefix used for all Command buttons
tmr Prefix used for all Timer controls
img Prefix used for all Image controls
Code Statements that make up the event procedures that belong to a project
Pseudocode Description of the actions that will be performed by the event procedure
Data Items Quantities or facts that describe things and that are processed by programs
Scope Domain of the event procedures that are allowed to access a data item
Numeric data Contains only numbers
String data Contains any symbol
Formatting Adding characters to a data item to make it easier for humans to read
Constant A data item whose value is specified at design time and that cannot be changed during run time
Literal Constant A value
Symbolic Constant Descriptive name that is substituted for a literal constant by the programmer
Const Statement Begins with keyword CONST, which is followed by the Symbolic name, then an equal sign, and finally the literal value
ex. CONST Age = 21
Variables Used to store and retrieve data during processing
Standard Data Types String, Integer, Long, Currency, Single, and Double
Range Smallest and largest values that can be stored by a numeric variable
Numeric Variables Integer, Long, Currency, Single, and Double
Precision Indicates how close together 2 numeric values can be before VB cannot tell them apart
Floating-point Types Store numbers using a scheme based on scientific notation
Variable Declaration Statement (Dim) Begins with Dim which is followed by the name of the variable being declared, then As which is followed by the data type for the variable
ex. Dim Age As Integer
Fixed-length String Variable where the length will not change
Variable-length String Visual Basic will automatically adjust the length
Syntax Correct form of a component of a programming language
Assignment Statement Consists of a variable name which is followed by an equal sign and then an expression
ex. Age = 21
Expression May be a constant or a variable or it may combine constants and variables using operations such as adding and subtracting
Concatenation Operator Joins 2 string values together
Type Mismatch Error Trying to store string data in a numeric variable
Run Time Error A condition that happens during execution that prevents the computer from executing the statement
Option Explicit Causes Visual Basic to scan all form’s event procedures for undeclared variables
Form Control Organizes project in terms of functionality and appearance, variables and constants, and its storage on disk
Active Form The form that the user is able to interact with
Activate Event Happens when switching from one form to another
Load Event Happens when a form is loaded
Initialization The tasks performed when an activity starts
Methods Actions that apply to controls
Show Method
Tells Visual Basic to show the form
ex. Form1.show
Variable Scope The variable in which a variable can be accessed
Local Scope Any variable declared inside an event procedure
Module-level Scope Any variable that is declared in the form’s general declarations section
Global Scope Variables that can be shared throughout all of the forms
Public Statement Used to create a global variable
Code Module Same as a form except it has no user interface window
Variable Lifetime Period of time a variable exists