Vb.net

STUDY
PLAY

Terms in this set (...)

Program
Directions given to computers
Programmer
People who write programs
Programming Languages
Used to communicate with the computer
Object -oriented programming language
A language that allows the programmer to use objects to accomplish a program's goal
Object
Anything that can be seen, touch or used
Class
A pattern or blueprint used to create an object
Visual basic
A program that available as stand alone product
Integrated Development Environment (IDE)
Contains all the tools and features needed to create, run and test programs. It also includes an editor and compiler
Application
Program or suite of programs
Window based application
A program that has a windows user interface and runs on a desktop computer
User interface
What the user sees and interacts with when using an application
Web based application
A program that has a web user interface and runs on a server. It can be accessed with a computer browser
Solution
A container that stores projects and files for an entire application. It may contain one or more project
Project
A container that stores files associated with a specific piece of the solution
Windows Form Designer window
Allows you to create (design) the GUI
Windows Form object
Adds other objects such as button and text boxes to the form to create the GUI
Solution Explorer Window
Displays a list of projects contained in this solution and displays the items contained in each project
Source File
A file containing program instructions
Code
Program instructions
Form file
A file containing codes associated with a windows form
Properties
A set of attributes that determine an object's appearance and behaviour
Properties window
Displays properties of selected object
Object box
Located immediately below properties window title bar and contains the name of the selected object
Properties list
Left column that displays name of properties and used the alphabetical and categorized buttons to sort the display of properties
Settings box
Right column containing the current value of each property
Class definition
Block of code that defines the attributes and behaviours of an object. All class definitions are contained in namespaces
Namespace
Defines a group of related classes
Dot member access operator
The period that separates words in an object's name to indicate a hierarchy of namespaces
Name property
Used to refer an object in code
Hungarian notation
Naming convention using three or more character prefix to represent in the object type
Pascal case
First letter of each word in the name is uppercase
First part of name is object 's purpose and the second part of name is object's class
Text property
Controls the caption displayed on form's title bar
StartPosition property
Determines the form's position on the screen when application starts
Font
General shape of characters in text
Point
A measure of font sizes, one point= 1/72 inch
Toolbox
Contains objects that can be added to other objects, such as form. Each tool has an icon and a name to identify it and represents an object, called a control
Control
Objects displayed on a form. Represented as icons in the toolbox and can be locked in place on the form
Label Control
Displays text that user cannot edit. It used as "prompts" to explain controls or display output and the name should end with label. Control names use camel case
Camel casing
Lowercase first word; uppercase first letter of each subsequent word in the name. It not necessary to assign meaningful names for label because it never used in code. If it using output, use the meaningful name
Button control
Performs an immediate action when clicked and its name should end with "Button"
Text property
Specifies the text that appears on the button's face
Picture box control
Used to display an image on a form
Image property
Specifies the image to display
SizeMode property
Handles how the image will be displayed.
- settings: Normal, StretchImage, AutoSize, CentreImage, or Zoom
Events
User actions while program is running
Event procedure
Set of instructions to be executed when an event occurs
Code editor
Used to enter programming code
Class statement
Used to define a class
Class Name list box
Lists the names of objects (controls) include in the user interface
Method Name list box
Lists the events to which the selected object is capable of responding
Syntax
Rules of the language
Keyword
A word with special meaning in a programming language
Sub procedure
Block of code that performs a task
Event's procedure header
Begins with keyword 'private sub'
Handles clause
Indicates for which objects events this code will execute
Me.Close() instructions
Close the current form at run time. If the current form is the main form, the application is terminated
Me keyword
Refers to the current form
Method
Predefined vb procedure that can be invoke (called) when needed
Sequential processing
Each line is executed in sequence. Known as sequence structure
Startup form
The form to be displayed when the application starts
Executable file
Can be run outside of Visual Studio and has a file extension of .exe. It also stored in the project's bin\Debug folder
Assignment statement
Assigns a value to a variable or property of a control and used to set property values at run time
String
Zero or more characters enclosed in quotation marks
Assignment operator
The= symbol