VISUAL BASIC FORM – container for all the controls OBJECT: anything that can be seen, touched, or
PROJECT - It contains files and other information used
specific to a single programming undertaking. CLASS: a pattern used to create an object CONTROLS in Visual Basic 2012 are objects that can be placed on the form to perform various INTEGRATED DEVELOPMENT ENVIRONMENT tasks. (IDE): Contains all the tools and features TEXT BOX – controls allowing the entering of text. needed to create, run, and test programs LABEL CONTROL – Used to display some APPLICATION: program or suite of programs informative text. WINDOWS-BASED APPLICATION: BUTTON CONTROL – used to generate a Has a Windows user interface click event Runs on a personal computer RADIOBUTTON CONTROL – used to provide a set of mutually exclusive option USER INTERFACE: what the user sees and GROUPBOX CONTROL – used to place interacts with when using an application adiobutton, displays caption WEB-BASED APPLICATION: CHECKED – property of radiobutton used to set the Has a Web user interface state of radiobutton Runs on a server APPEARANCE – change the appearance of Accessed with a computer browser radiobutton PANEL CONTROL – similar to groupbox, SOLUTION: a container that stores projects and files have scroll bars for an entire application CHECKBOX CONTROL – used to set PROJECT: a container that stores files associated true/false or yes/no options with a specific portion of the solution CHECKBOX STATE: WINDOWS FORM DESIGNER WINDOW: 1. Checked Allows you to create (design) the GUI 2. Unchecked GRAPHICAL USER INTERFACE (GUI): 3. Indeterminate What the user sees and interacts with INTELLISENSE displays a list of the properties and LISTBOX CONTROL – displays list of items methods that you might be trying to select. to a user. WINDOWS FORM OBJECT (OR FORM): COMBOBOX CONTROL – used to display a Foundation for the user interface drop-down list of various items. Add other objects such as buttons/text boxes PICTUREBOX CONTROL to form Title bar with caption and Minimize, Maximize, DATA CONTROL: and Close buttons Tab at top of designer window has Form1.vb [Design]
LABEL SOLUTION EXPLORER WINDOW:
DataGridView Displays a list of projects contained in this ListView, solution TreeView Displays the items contained in each project PropertyGrid SOURCE FILE A file containing program instructions FEEDBACK CONTROLS; CODE ToolTip Program instructions HelpProvider FORM FILE ErrorProvider A file containing code associated with a NotifyIcon Windows form Give each form file a meaningful name using StatusStrip the Properties window ProgressBar PROPERTIES A set of attributes GRAPHICS CONTROLS: PROPERTIES WINDOW Displays properties of the selected object NAME AND TEXT PROPERTIES Form Assign meaningful names PictureBox TEXT PROPERTY PrintPreviewControl Controls the caption displayed PrintDocument STARTPOSITION PROPERTY PrintPreviewDialog Determines the form’s position on the screen when application starts FONT PROPERTY general shape of characters in text SIZE PROPERTY VISUAL BASIC 2012 is an object-oriented programming language (OOP) EVENTS: User actions while program is running 2. Long 3. Decimal EVENT PROCEDURE: 4. Single Set of instructions to be processed 5. Double CODE EDITOR WINDOW: 6. String Used to enter event procedure’s code CLASS STATEMENT NOT A NUMBER (NaN) – indicates that the result Used to define a class cant be defined. CLASS NAME LIST BOX BOOLEAN – stores true/false statements Lists the names of objects CONSTANTS – doesnt change values METHOD NAME LIST BOX Lists the events ARITHMETIC OPERATIONS SYNTAX 1. Exponentiation Rules of the language 2. Negation KEYWORD 3. Multiplication and Division A word with special meaning 4. Integer division SUB PROCEDURE 5. Modulus division Block of code that performs a task 6. Addition and subtraction BUG An error in a program’s code CONCATENATION OPERATIONS DEBUGGING 1. String Concatenation (&) The process of locating and correcting bugs 2. String concatenation (+) in a program SYNTAX ERROR COMPARISON OPERATIONS Occurs when you break one of the 1. Equality programming language’s rules 2. Inequality 3. Less than, Greater than 4. Greater than or equal to VARIABLE – stores data. 5. Less than or equal PROGRAM – list of statement that manipulates 6. Like variables. DATA TYPE – determine what kind of value we can LOGICAL / BITWISE OPERATORS store in a variable 1. Negation 2. Conjunction FIVE CATEGORIES OF VARIABLES: 3. Disjunction 1. Numeric 2. String DECISION STATEMENTS 3. Boolean 1. If … Then 4. Date 2. If … Then … Else 5. Object 3. Select Case
MAJOR CATEGORIES OF VARIABLE TYPE: LOOP STATEMENTS
1. Numeric 1. For … Next 2. String 2. Do … Loop 3. While ... End While NUMERIC VARIABLES – stores numbers STRING VARIABLES – stores text ARRAYS – fixed-sized sequential collection of OBJECT VARIABLES – stores any kind of data type elements CHARACTER VARIABLES – Stores single Unicode INITIALIZATION - use to initialize the variable. character.