Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 بسم الله الرحمن الرحيم Palestine Polytechnic University College of Administrative science and.

Slides:



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

MS-Word XP Lesson 1.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Using Macros and Visual Basic for Applications (VBA) with Excel
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
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.
Automating Tasks With Macros
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.
The Initial Visual Basic Screen
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab10 Interacting with Data (Database Management)
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab3 Check Boxes,Option Buttons Frame Control Frame Control MsgBox, InputBox Functions Day7.
MENUS AND THE MENU EDITOR Elements of a Menu Menu bar Menu title Separator bar Menu items.
Customizing Outlook. Forms Window in which you enter and view information in Outlook Outlook Form Designer The environment in which you create and customize.
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.
Fundamentals of Programming in Visual Basic 3.1 Visual basic Objects Visual Basic programs display a Windows style screen (called a form) with boxes into.
Introduction to Visual Basic Chulantha Kulasekere.
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)
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Visual Basic Chapter 1 Mr. Wangler.
05/09/ Introducing Visual Basic Sequence Programming.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
IE 411/511: Visual Programming for Industrial Applications
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
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.
Introduction to MS WORD.
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)
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
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.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 3.1 Test-Driving the Welcome Application 3.2.
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.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
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.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
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.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
Lesson 12-Page Numbers, Headers, and Footers. Overview Add page numbers. Vary page numbers in Print Layout view. Add headers and footers. Work with headers.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
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.
Dive Into® Visual Basic 2010 Express
Visual Basic .NET BASICS
Microsoft Visual Basic 2005 BASICS
Visual Basic Code & No.: CS 218
Introduction to Computing
1. Introduction to Visual Basic
Microsoft Excel 2003 Illustrated Complete
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 بسم الله الرحمن الرحيم Palestine Polytechnic University College of Administrative science and informatics Visual Basic 6

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 2 Lab1 SAMS: DAY2 Working With Visual Basic

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 3 Integrated Integrated Development Environment IDEIDEIDEIDE

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 4 VB Integrated Development Environment (IDE)

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 5 The New Project Window This window appears in the following cases: 1. When you start VB. 2. When you start New Project from the file menu.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 6 The Title Bar The line at the top of the window which shows: 1. The project name. 2. The project status (Design, Run).

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 7 The Menu Bar Note: Each menu item has it’s own pull down menu which contains another menu items. Menu Item

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 8 The Tool Bar Contains buttons that performs specific tasks. To Show/Hide Tool Bar: View, Toolbars

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 9 The Tool Box It’s a collection of buttons called Controls that enables you to implement the graphical user interface. Types: 1. Standard: Built-in. 2. Professional: added to the project ( special file).

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 10 The Tool Box

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 11 The Form Window

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 12 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.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 13 The Project Window A window that lists all project files (Forms, modules… See Page 40 ) You can use the context window to Add, Save, Remove file.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 14 The Properties Window Property Name Property Value

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 15 The Properties Window Lists the properties of the controls (objects). Each control and form has it’s own properties. 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).

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 16 The Form Layout Window Show a preview of the from window’s location at Run- Time. Screen Form

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 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.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 18 Lab1 Training Part I: Examples 1- Design a VB project, to perform Greetings. 2- Saving the project.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 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.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 20 Lab1 Training Question II Start a new project in Visual Basic. Delete any custom controls from the project. Add three text boxes and two command buttons. Change the Caption property of each button, Use whatever caption you want Change the Text property of the text boxes so that they are blank (Empty).

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 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

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 22 Lab1 End