1 1 Lab1 Ismail M. Romi – IT Dept, PPU, 2010. 2 2 Visual Basic 2005 Programming Tour.

Slides:



Advertisements
Similar presentations
Information System Design Lab 5&6. User Interface Design.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Using Macros and Visual Basic for Applications (VBA) with Excel
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Visual Basic Project Files:.VBP file: Project File: a small text file that contains the names of other files in the project, as well as some information.
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.
The Initial Visual Basic Screen
1 Pertemuan 02 Visual Basic Environment and Control Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab10 Interacting with Data (Database Management)
Using the Visual Basic Editor Visual Basic for Applications 1.
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 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Introduction to Visual Basic Chulantha Kulasekere.
Access Tutorial 10 Automating Tasks with Macros
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
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.
05/09/ Introducing Visual Basic Sequence Programming.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
VISUAL C++ PROGRAMMING: CONCEPTS AND PROJECTS Chapter 1B Introduction (Tutorial)
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
Chapter 3: Using GUI Objects and the Visual Studio IDE.
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)
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Introduction to the Visual Studio.NET IDE (LAB 1 )
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 Creating a First Project in Visual Basic.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
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 CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Chapter 27 Getting “Web-ified” (Web Applications) 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.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
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.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 6 Looping and Multiple Forms.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Dive Into® Visual Basic 2010 Express
Visual Basic .NET BASICS
Visual Basic.NET Windows Programming
Microsoft Visual Basic 2005 BASICS
Visual Basic Code & No.: CS 218
Chapter 2 – Introduction to the Visual Studio .NET IDE
1. Introduction to Visual Basic
Chapter 1: An Introduction to Visual Basic 2015
Microsoft Excel 2003 Illustrated Complete
CIS16 Application Development Programming with Visual Basic
Presentation transcript:

1 1 Lab1 Ismail M. Romi – IT Dept, PPU, 2010

2 2 Visual Basic 2005 Programming Tour

3 Structure of a VB Application (Project) 1. Project: A collection of files. 2. Solution: a collection of projects 3. Forms: Windows that you create for user interface. 4. Controls: Objects drawn on the form to allow user interaction. 5. Properties: Characteristics of forms and objects. 3

4 Structure of a VB Application (Project) … Cont. 5. Methods: Built-in procedures 6. Event Procedures: Code related to objects. 7. General Procedures: Code not related to objects. 4

5 Start Page Open existing project Create new project

6 New Project Dialog Box Project Name Select windows Application

7 7 Integrated Development Environment IDEIDEIDEIDE

8 8 VB 2005 Integrated Development Environment (IDE)

9 9 The Title Bar The line at the top of the window which shows: 1. The project name. 2. The project status (Design, Run).

10 The Menu Bar Note: Each menu item has it’s own pull down menu which contains another menu items. Menu Item

11 The Tool Bar Contains buttons that performs specific tasks. To Show/Hide Tool Bar: View, Toolbars

12 The Tool Box Copyright 2008: Ismail M.Romi, PPU. All Rights Reserved A collection of buttons called Controls that enables you to implement the graphical user interface.

13 The Form Window The background window that the user see during the program execution. The forms are given a default name Form1, From2… On the form you can place the controls from the toolbox required for the user interface. Title Bar

14 The Solution Explorer A window that lists all solution projects, files You can use the context window to Add, Save, Remove file.

15 The Properties Window Property Name Property Value Toggle to events Toggle to properties Control Name

16 The Properties Window Lists the properties and events of the controls (objects). Each control and form has it’s own properties and events. Each property consists of :  Name.  Value. You can change the values in the properties window, and this is reflected automatically on the associated Control (Object).

17 Placing Controls on the Form Ways: 1- Double-click the control you want from the ToolBox. 2- Choose the Control from the ToolBox, assign it’s place on the from.

18 Lab1 Training Part I: Examples 1- Design a VB project, to perform Greetings. 2- Saving the project.

19 Lab1 Training Part II: Questions Question I Start VB. Close the Form, Project, Properties, and Toolbox windows. Now perform the actions necessary to make each window appear on-screen.

20 Lab1 Training Question II Start a new project in VB Delete any custom controls from the project. Add three text boxes and two command buttons. Change the text property of each button, Use whatever text you want Change the Text property of the text boxes so that they are blank (Empty).

21 Lab1 Training Design the greeting interface as follow: When you click University Greeting, the message “Welcome to PPU University” will appear in the textbox. When you click College Greeting, the message “Welcome to Adm. College” will appear in the textbox. When you click End the program ends. Question III

22 Lab1 End Lab1 End Thank you