Programming Lecture #2 CS 101 Autumn 2007 Tariq Jadoon.

Slides:



Advertisements
Similar presentations
Working with Intrinsic Controls and ActiveX Controls
Advertisements

Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Introducing More Controls Text boxCheck box Option button Command button frame image.
Programming Lecture #3 CS 101 Autumn 2006 Tariq Jadoon.
 2002 Prentice Hall. All rights reserved. Chapter 2 - Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Overview of the Visual Studio.NET.
Programming Lecture #4 CS 101 Autumn 2006 Tariq Jadoon.
Introduction to Computing Dr. Nadeem A Khan. Lecture 13.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 بسم الله الرحمن الرحيم Palestine Polytechnic University College of Administrative science and.
Chapter 31 Visual Basic Controls A Form is a windows-style screen displayed by Visual Basic programs. In a form, a programmer can create objects in a form.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Introduction To Visual Basic 6. Announcements  Thursday, Oct 9th, 7:30PM, C106 Lloyd Douglas (NSF) Diversity in Science-Who needs it? 5 extra credits.
Introduction to Visual Basic Chulantha Kulasekere.
1.4: Rewrite Formulas & Equations
Getting Started Example ICS2O curriculum
Microsoft® Small Basic The Controls Object Estimated time to complete this lesson: 1 hour.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Microsoft® Small Basic
05/09/ Introducing Visual Basic Sequence Programming.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
University of Toronto at Scarborough © Andria Hunter, Kersti Wain-Bantin CSCA01 VBA-3 1 Lecture Outline Variable Scope Calling another subprogram Programming.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introducing Web Controls Outline 29.1 Analyzing the.
Visual Programming Fall 2012 – FUUAST Topic: Development environment.
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
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.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 7.1 Test-Driving the Wage Calculator Application.
Integrated Development Environment (IDE)
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., Visual Basic Projects Project Structure and VB’s Programming Tools chapter TWO.
Form Fill Software Data Structure Software developing company.
Chapter Two Creating a First Project in Visual Basic.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Chapter 2 – Introduction to the Visual Studio .NET IDE
CS130 Project 1 A simple VB application ("project" or program): user enters amount of sales then clicks the "Calculate button", the application displays.
Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time.
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
CS 101 Test 2 Study Guide Acronyms RAD - Rapid Application Development IDE - Integrated Development Environment GUI - Graphical User Interface VB - Visual.
GRAPHICS MODULE 14 STUDY BOOK. Graphic commands SCREEN - puts the screen into graphics mode WINDOW - allows scaling of the screen LINE - 3 formats –LINE.
Inequalities and their Graphs Objective: To write and graph simple inequalities with one variable.
You should unzip and download the beginning programs.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 4 Working with Variables, Constants, Data Types, and Expressions.
VB Objects & Events (Exercises) School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Friday 1/31/2003)
1 Visual Basic Part I - A tool for customizing your program Principles of GIS
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic Integrated Development Environment (IDE) 56:150 Information System Design.
Sorry, the pen lost control. Anyway, you need to download both the.vbp and the.frm for each project. I looked at PrCalc, I did not look at inventory.
Chapter 13 Copyright 2000 All rights reserved 1 Chapter 13 Object-Oriented Programming.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
(have students make a chart of 4 x 11
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Introduction To Visual Basic 6
Visual Basic Fundamental Concepts
Everybody.
Visual Basic Code & No.: CS 218
Introduction to Computing
3.01 Apply Controls Associated With Visual Studio Form
Introduction to VB6 Week 1 3/2/2004 PPCC - Introduction to VB6
3.01 Apply Controls Associated With Visual Studio Form
Chapter 3 Fundamentals of Programming in Visual Basic 3
Visual Basic Properties, Methods and Events
Visual Basic..
Custom dialog boxes Unit objectives
Creating and executing a program
Hello World in Visual Basic
Items, Group Boxes, Check Boxes & Radio Buttons
Визуалды бағдарламалау ортасы.
Visual Basic: Week 5 Review User defined functions
Project Design, Forms and Buttons
3.Visual Basic Controls.
Presentation transcript:

Programming Lecture #2 CS 101 Autumn 2007 Tariq Jadoon

In Lecture #1 VB Integrated Development Environment (IDE) –Form Design Window –Project Window –Toolbox –Properties Window –Form Layout Window

Design Mode/ Run Mode Form Load, Click, dblClick Events –AutoRedraw –DrawWidth –Width –Height –Twips

–PSET (x,y), color –LINE (x1,y1)-(x2,y2), color –LINE (x1,y1)-(x2,y2), color, B –LINE (x1,y1)-(x2,y2), color, BF –CIRCLE (x,y), radius, color –CIRCLE (x,y), radius, color, start, end –CIRCLE (x,y), radius, color,,, aspect-ratio –RND ~ (0,1) –QBCOLOR (n) –CLS

Variables & Assignment Statements A variable is a named storage space –Naming variables follows certain simple rules: Assignment statements assign values to variables: Variable = Expression An assignment statement is NOT an equation

1 4 Variables & Assignment Statements X = 1 X = 4 Y = X XY 4

Processor Variables & Assignment Statements 4 X = 1 X = 4 Y = X X = Y + 2 XY =6 6

New Controls Introduced Label –Caption, top and left property CommandButton –Caption property and click event TextBox –Text property We also talked about the Print Method, as well as the forecolor and backcolor properties of forms