Introduction to Computing

Slides:



Advertisements
Similar presentations
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Advertisements

Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Flowchart Start Input weight and height
Introduction to Computing Dr. Nadeem A Khan. Lecture 11.
Introduction to computers & Visual Basic School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Monday 1/27/2003)
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.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab2 Managing Controls.
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.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
An Introduction to Visual Basic
IE 411/511: Visual Programming for Industrial Applications
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
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.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
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.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
Chapter Two Designing Applications Programming with Microsoft Visual Basic th Edition.
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.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
The parts of a Computer Window
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.
Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool.
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
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Controls. Common properties Height – Height of the control Left – Left of the control Width – width of a control Top - From the screen top Font – Foreground.
1 Introduction to Visual Basic Dr Mohd Nabil Almunawar MS 3403 Advanced Computing.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
Chapter 2 More Controls Programming in C#. NET Objectives Use text boxes, group boxes, check boxes, radio buttons, and picture boxes effectively.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 3 Building an Application in the Visual Basic.NET Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Chapter 1: An Introduction to Visual Basic 2015
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming UTPA – Fall 2012 This set of slides is revised from lecture.
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
Introduction to Computing
1. Introduction to Visual Basic
3.01 Apply Controls Associated With Visual Studio Form
Microsoft Access 2003 Illustrated Complete
Introduction to the Visual C# 2005 Express Edition IDE
Chapter 2 Visual Basic Interface
Visual Basic.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Visual Basic Objects Controls
Understanding the Integrated Development Environment
Introduction to Programming
3.Visual Basic Controls.
Chapter 4 Enhancing the Graphical User Interface
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

Introduction to Computing Dr. Nadeem A Khan

Lecture 5

Components of IDE The visual basic is made up of a number of components Menu bar Tool bar Project explorer Properties window Form layout window Toolbox Form design etc.

IDE Menu Bar Tool Bar Form Toolbox Form Designer Properties Window Form Layout Window Project Explorer

Assignment 2 Part I- Design a VB application which closely resembles the provided sample application (both in functionality and in appearance)

Assignment 2 (Contd.) Part II- Write Pseudocode and draw Hierarchy chart for the following problem: A list has various items to be bought along with their quantities and rates. Items have to be bought in the same order and in complete quantities as they are listed. Available money for buying these items is Rs. 1000. Problem is to determine and display how many items can be bought and the remaining balance.

Toolbox Picture Box Label Control Text Box Frame Control Command Button Check Box Option Button Combo Box List Box Horizontal Scroll Bar Vertical Scroll Bar Drive List Timer Control File List Box Directory List Box Line Object Shape Object Image Object Data Control OLE Control Toolbox

Introducing Controls Label: To display information Textbox: To get information Command Button: To initiate action (by clicking) Picture Box: To display text or graphics

Notice: Friday’s Class in the BSc. LAB-1

The Label Information (text) is displayed only A few properties Name Caption Width Height Font BackColor ForeColor Tryout the Label Walkthrough

The Textbox Information can be typed in at run time A few properties Name Height Width Text Font BackColor ForeColor Multiline Tryout the Text Box Walkthrough

The Command Buttons For initiating an action by clicking A few properties Name Caption: Ampersand (&) can also be used Width Height Font BackColor Tryout the Command Button Walkthrough

The Picture Box To display text or graphics A few properties Name Picture Width Height Autosize BackColor Tryout the Picture Box Walkthrough

The Form Object Max/Restore Caption Title Bar Close Button Min Button Control menu Border

The Form object Window for designing the user interface A few properties: Name Caption Width Height BackColor BorderStyle Left Top StartUpPosition MaxButton MinButton Picture

Setting Properties Setting free text properties Select the property Type the new value Press ENTER or select a different property.

Setting Enumerated Properties The ENABLED properties can only be TRUE or FALSE. There are properties that have more than 2 possible values. These are represented by ENUMERATED properties.

Example For example to select the Start up position of a Form can be selected by RIGHT CLICKING on the arrow facing downward and toggling through all the possible values.

Setting Properties with Property Pages Some properties are more complex than others. Some properties require the use of property pages to select a value from them. An ellipse appears on the right of the property if it has a property page. One such example is the FONT property.

Font Property Page

Today’s Lecture was based on David Schneider: Chapter 3: Section 3.1 Steve Brown: Chapter 2: p39 - p51 Scott Warner: Chapter 1: Section 1.4