Visual Basic 101.

Slides:



Advertisements
Similar presentations
What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
Advertisements

CE 311 K Introduction to Computer Methods VB Controls and Events Daene C. McKinney.
VISUAL BASIC Visual Basic is derived from the Basic language (Beginner’s All-Purpose Symbolic Instruction Code) Visual Basic uses an event-driven programming.
Information System Design Lab 5&6. User Interface Design.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
Automating Tasks With Macros
Visual Basic Project 1 IDS 306 Spring 1999 V. Murphy.
Exploring the Basics of Windows XP. Objectives Start Windows XP and tour the desktop Explore the Start menu Run software programs, switch between them,
Introduction to computers & Visual Basic School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Monday 1/27/2003)
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Introduction to Programming and Visual Basic
Exploring the Basics of Windows XP
®® Microsoft Windows 7 for Power Users Tutorial 2p3 Customizing Microsoft Windows 7.
Access Tutorial 10 Automating Tasks with Macros
Slide 1 Chapter 2 Visual Basic Interface. Slide 2 Chapter 2 Windows GUI  A GUI is a graphical user interface.  The interface is what appears on the.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Visual Basic Chapter 1 Mr. Wangler.
Hands-on Introduction to Visual Basic.NET Programming Right from the Start with Visual Basic.NET 1/e 6.
Introduction to Visual Basic (VB)
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
An Introduction to Visual Basic
Chapter 3 Introducing Visual Basic.NET. 3.1 Visual Basic.NET Windows Programming -Used to create Windows, Web, and Console applications -Uses predefined.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Visual Basic Starter Vocabulary. IDE Integrated Development Environment A setting in which programs are written, tested, debugged, etc. You could write.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Integrated Development Environment (IDE)
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Enhancing the Graphical User Interface Multiple Forms, Controls, and Menus.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., Visual Basic Projects Project Structure and VB’s Programming Tools chapter TWO.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter Two Creating a First Project in Visual Basic.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
1 © 2001 John Urrutia. All rights reserved. Chapter 6 Graphical User Interfaces GUI’s.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
Lesson 4 Mathematical Operators! October 6, 2009.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Understanding Desktop Applications Lesson 5. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Windows Forms Applications Understand.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Understanding Desktop Applications Lesson 5. Understanding Windows Forms Applications Windows Forms applications are smart client applications consisting.
More Visual Basic!. Creating a Standalone Program A standalone program will allow you to make a program file that can be run like other Windows programs,
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Visual Basic .NET BASICS
Microsoft Visual Basic 2005 BASICS
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
1. Introduction to Visual Basic
Understand Windows Forms Applications and Console-based Applications
Chapter 2 Visual Basic Interface
Hands-on Introduction to Visual Basic .NET
CIS16 Application Development Programming with Visual Basic
Exploring the Basics of Windows XP
Building an Application in the Visual Basic .NET Environment
Chapter 4 Enhancing the Graphical User Interface
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

Visual Basic 101

Creating a Flowchart for our Mechanical Man Start Raise Arms Yes Touch Wall? A No

Stand Up Yes Touch wall? B No Take One Step

Add One to Counter Yes Turn Right Touch Wall? No Take One Step

Subtract One from Counter Is Counter = 0? Yes Turn Right B No

B Sit Down A Lower Arms Stop

Building an Application Vocabulary Words: 1. Graphical User Interface (GUI) (pronounced “gooey”): Allows you to use both text and graphical images to communicate with the computer. Example: Microsoft Windows is called a graphical user interface.

Application Software or Applications: Are computer programs that perform a certain function such as calendar, word processing, or spreadsheet. Even though they are developed by different companies, they have a similar look and feel to the computer user!

Visual Basic: Is itself a Windows application. Its function is to help you build you own special-purpose applications and application components for the Windows operating system.

Stand-alone application (also called EXE): Is one which runs independently of the Visual Basic system.

Multiple document interfaced (MDI) : Presents windows within windows and is better suited for larger monitors with higher resolutions. Single document interfaced (SDI): Presents independent windows on the desktop.

Docked : A window that can be anchored to other windows.

Design Time: Is the time during which you build an application with Visual Basic. Run Time: Is the time during which you use an application for its intended purpose. Project: These are the applications you build in Visual Basic.

Form: A project always begins with a form! Objects that become the windows and dialog boxes when the application runs. Twips: A unit of measurement used to position objects on forms. There are 1440 twips in one inch.

Controls: The command buttons, text boxes, scroll bars, and other objects that make up the user interface. Toolbox: The collection of tools that allows you to add objects to the forms you create in Visual Basic.

Properties: Are characteristics, or attributes, of a control, such as its color or the text that displays on top if it. Events: An action taken by the user or generated by some process that causes an event-driven program to respond. They are messages sent to an object when the application runs.

Methods: A command that directs an object to make a change to is state. Example: The SetFocus method causes the focus to be changed to a certain control on the form. Internal documentation: They are comments within the code statements, they explain how the code in the procedure works. Each comment line must begin with an apostrophe (‘) or the letters Rem.

Let’s start using Visual Basic!

The Properties Window Object Box Property Values Properties List

Homework: 1.) Page 1.57 True/False questions and Multiple Choice. 2.) Page 1.58 #4 Understanding VB Toolbar and Toolbox.