Microsoft Visual Basic 2005: Reloaded

Size: px
Start display at page:

Download "Microsoft Visual Basic 2005: Reloaded"

Transcription

1 Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 1 An Introduction to Visual Basic 2005

2 Objectives After studying this chapter, you should be able to: Explain the history of programming languages Define the terminology used in object-oriented programming Explain the role of the.net Framework class library and Common Language Runtime (CLR) Create a Visual Basic 2005 Windows-based application Manage the windows in the Integrated Development Environment (IDE) Microsoft Visual Basic 2005: Reloaded, Second Edition 2

3 Objectives (continued) Set the properties of an object Add a control to a form Use the Label, Button and PictureBox tools Enter code in the Code Editor window Save a solution Microsoft Visual Basic 2005: Reloaded, Second Edition 3

4 Objectives (continued) Start and end an application Print a project s code Write an assignment statement Close and open an existing solution Microsoft Visual Basic 2005: Reloaded, Second Edition 4

5 Programmers Programs: instructions given to computers Programmers: people who write programs Applications programmers: write and maintain programs to handle specific tasks Systems programmers: write and maintain programs that run the system, such as operating systems, device drivers, utilities Microsoft Visual Basic 2005: Reloaded, Second Edition 5

6 A Brief History of Programming Languages Programming languages: used to communicate with the computer Machine language (or machine code): Instructions are written in 0s and 1s Only way to communicate directly with the computer Assembly languages: use mnemonics for instructions Mnemonics: alphabetic abbreviations for instructions Microsoft Visual Basic 2005: Reloaded, Second Edition 6

7 A Brief History of Programming Languages (continued) Assembler: program that converts assembly language instructions into machine code High-level languages: Instructions resemble English language Require an interpreter or compiler to convert highlevel language to machine code Interpreter: translates high-level instructions lineby-line as the program runs Compiler: translates entire program into machine code before running the program Microsoft Visual Basic 2005: Reloaded, Second Edition 7

8 A Brief History of Programming Languages (continued) Procedure-oriented program: one that focuses on individual tasks and their sequence Object-oriented program: one that focuses on objects the program can use to accomplish its goal Microsoft Visual Basic 2005: Reloaded, Second Edition 8

9 OOP Terminology OOP: Object-oriented programming OOD: Object-oriented design Object: Represents a real-world entity Attributes (or properties): describe the object Methods: behaviors or operations the object can perform Class: blueprint used to create an object Microsoft Visual Basic 2005: Reloaded, Second Edition 9

10 OOP Terminology (continued) Encapsulation: the class contains all the attributes and behaviors of the object created from the class Instance: an object created from a class Abstraction: the hiding of internal details of an object Exposed: attributes and behaviors that are not hidden Inheritance: ability to create one class from another Microsoft Visual Basic 2005: Reloaded, Second Edition 10

11 OOP Terminology (continued) Derived class: a new class created from another by inheritance Base class: the class used to create the new class Polymorphism: allows the same instructions to be carried out differently depending on the object Microsoft Visual Basic 2005: Reloaded, Second Edition 11

12 OOP Terminology (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 12

13 Visual Studio 2005 Integrated Development Environment (IDE): Contains all the tools and features needed to create, run, and test programs Includes an editor and compiler Visual Studio 2005: IDE used to create Windows or Web-based programs Includes Visual Basic 2005, Visual C , Visual C# 2005, and Visual J# 2005 Microsoft Visual Basic 2005: Reloaded, Second Edition 13

14 Visual Studio 2005 (continued) Application: program or suite of programs Windows-based application: Has a Windows user interface Runs on a desktop computer User interface: what the user sees and interacts with when using an application Microsoft Visual Basic 2005: Reloaded, Second Edition 14

15 Visual Studio 2005 (continued) Web-based application: Has a Web user interface Runs on a server Use a computer browser to access it Microsoft.NET Framework 2.0: a platform on which you create applications.net languages: the programming languages included in Visual Studio.NET applications: applications created with Visual Studio Microsoft Visual Basic 2005: Reloaded, Second Edition 15

16 Visual Studio 2005 (continued).net Framework class library: Contains an extensive set of classes for use in.net applications Reduces development time by providing reusable code Provides consistency among applications Microsoft Visual Basic 2005: Reloaded, Second Edition 16

17 The Common Language Runtime.NET language compilers translate program statements into a Microsoft Intermediate Language, also called Intermediate Language (IL) Common Language Runtime (CLR): Manages the execution of IL instructions Just-in-time (JIT) compiler: translates IL into machine code CLR allows compiled IL to be reused, regardless of which.net language was used to create it Microsoft Visual Basic 2005: Reloaded, Second Edition 17

18 The Common Language Runtime (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 18

19 Solutions, Projects, and Files Solution: a container that stores projects and files for an entire application Project: a container that stores files associated with a specific part of the solution Microsoft Visual Basic 2005: Reloaded, Second Edition 19

20 Solutions, Projects, and Files (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 20

21 Starting Microsoft Visual Studio 2005 Microsoft Visual Basic 2005: Reloaded, Second Edition 21

22 Starting Microsoft Visual Studio 2005 (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 22

23 Starting Microsoft Visual Studio 2005 (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 23

24 Creating a Visual Basic 2005 Windows-Based Application Microsoft Visual Basic 2005: Reloaded, Second Edition 24

25 Creating a Visual Basic 2005 Windows-Based Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 25

26 Creating a Visual Basic 2005 Windows-Based Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 26

27 Managing the Windows in the IDE Microsoft Visual Basic 2005: Reloaded, Second Edition 27

28 The Windows Form Designer Window Windows Form Designer window: Allows you to create (design) the GUI Graphical User Interface (GUI): what the user sees and interacts with when using the application Windows Form object (or form): Adds other objects such as buttons and textboxes to create the GUI Instance of the Windows Form class Automatically instantiated when you create an application Microsoft Visual Basic 2005: Reloaded, Second Edition 28

29 The Windows Form Designer Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 29

30 The Solution Explorer Window Solution Explorer window: Displays a list of projects contained in this solution Displays the items contained in each project Microsoft Visual Basic 2005: Reloaded, Second Edition 30

31 The Solution Explorer Window (continued) Project Designer window: Open by right-clicking on project folder Allows you to set options for the project Contains 9 tabs with groups of options Microsoft Visual Basic 2005: Reloaded, Second Edition 31

32 The Solution Explorer Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 32

33 The Solution Explorer Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 33

34 The Solution Explorer Window (continued) Source file: a file containing program instructions Code: program instructions Form file: a file containing code associated with a Windows form object Microsoft Visual Basic 2005: Reloaded, Second Edition 34

35 The Properties Window Properties window: displays properties of selected object Default property values are assigned when an object is created Microsoft Visual Basic 2005: Reloaded, Second Edition 35

36 The Properties Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 36

37 The Properties Window (continued) Properties window includes an Object box and a Properties list Object box: Located immediately below Properties window title bar Contains the name of the selected object Properties list: Left column displays names of properties Settings box: Right column containing the current value of each property Microsoft Visual Basic 2005: Reloaded, Second Edition 37

38 Properties of a Windows Form Object Microsoft Visual Basic 2005: Reloaded, Second Edition 38

39 Properties of a Windows Form Object (continued) Class definition: block of code that defines the attributes and behaviors of an object Namespace: defines a group of related classes Dot member access operator: the period that separates words in an object s name Name property: used to refer to an object in code Hungarian notation: naming convention using a 3 or more character prefix to represent the object type Camel casing: lowercase prefix, uppercase first letter of each word Microsoft Visual Basic 2005: Reloaded, Second Edition 39

40 Properties of a Windows Form Object (continued) Pascal case: First letter and first letter of each word is uppercase First part of name is object s purpose Second part of name is object s class Text property: controls the caption displayed on form s title bar StartPosition property: determines the form s position on the screen when application starts Splash screen: first image to appear when application starts Microsoft Visual Basic 2005: Reloaded, Second Edition 40

41 Properties of a Windows Form Object (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 41

42 The Toolbox Window Toolbox: Contains tools used to create an application Each tool represents a class from which to instantiate objects Controls: Objects displayed on a form Are represented as icons in the toolbox Can be locked in place on the form Control names use camel casing Microsoft Visual Basic 2005: Reloaded, Second Edition 42

43 The Toolbox Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 43

44 The Toolbox Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 44

45 The Label Tool Label tool: represents a label control Label control: Displays text that user cannot edit Used as prompts to explain controls or display output Microsoft Visual Basic 2005: Reloaded, Second Edition 45

46 The Label Tool (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 46

47 The Label Tool (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 47

48 The Button Tool Button tool: represents a button control Button control: Performs an immediate action when clicked Microsoft Visual Basic 2005: Reloaded, Second Edition 48

49 The Button Tool (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 49

50 The Button Tool (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 50

51 The Code Editor Window Events: user actions while program is running Event procedure: set of instructions to be executed when an event occurs Code editor: used to enter programming code Microsoft Visual Basic 2005: Reloaded, Second Edition 51

52 The Code Editor Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 52

53 The Code Editor Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 53

54 The Code Editor Window (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 54

55 The Code Editor Window (continued) Keyword: has special meaning in a programming language Sub procedure: block of code that performs a task Event s Procedure header: Begins with keyword Private Procedure name includes object name and event name Handles clause indicates for which objects events this code will execute Microsoft Visual Basic 2005: Reloaded, Second Edition 55

56 The Me.Close Method Me.Close method: closes the current form Method: predefined VB procedure that can be invoked (called) Sequential processing: each line is executed in sequence Microsoft Visual Basic 2005: Reloaded, Second Edition 56

57 The Me.Close Method (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 57

58 Saving a Solution Microsoft Visual Basic 2005: Reloaded, Second Edition 58

59 Starting and Ending an Application Startup form: the form to be displayed when the application starts Microsoft Visual Basic 2005: Reloaded, Second Edition 59

60 Starting and Ending an Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 60

61 Starting and Ending an Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 61

62 Starting and Ending an Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 62

63 Starting and Ending an Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 63

64 Starting and Ending an Application (continued) Executable file: Can be run outside of Visual Studio 2005 Has file extension of.exe Microsoft Visual Basic 2005: Reloaded, Second Edition 64

65 Starting and Ending an Application (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 65

66 Using an Assignment Statement Assignment statement: assigns a value to a variable or property of a control Assignment operator: the = symbol Microsoft Visual Basic 2005: Reloaded, Second Edition 66

67 Using an Assignment Statement (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 67

68 Using an Assignment Statement (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 68

69 Printing Your Code Microsoft Visual Basic 2005: Reloaded, Second Edition 69

70 Closing the Current Solution Closing a solution closes all projects and files in that solution Microsoft Visual Basic 2005: Reloaded, Second Edition 70

71 Closing the Current Solution (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 71

72 Opening an Existing Solution Only one solution can be open at any one time If a solution is already open, opening a different one will close the currently open solution Microsoft Visual Basic 2005: Reloaded, Second Edition 72

73 Opening an Existing Solution (continued) Microsoft Visual Basic 2005: Reloaded, Second Edition 73

74 Programming Tutorial Microsoft Visual Basic 2005: Reloaded, Second Edition 74

75 Programming Example Microsoft Visual Basic 2005: Reloaded, Second Edition 75

76 Summary Program: directions given to a computer Programming languages have progressed from machine language to assembly language to highlevel languages Compiler: converts high-level languages to machine instructions Object: can be seen, touched, or used Objects have attributes (properties) and behaviors (methods and events) Microsoft Visual Basic 2005: Reloaded, Second Edition 76

77 Summary (continued) Class: a pattern from which an object can be instantiated Class encapsulates an object s attributes and behaviors IDE: interactive development environment Windows Form Designer window: used to create GUI applications Solution Explorer window: shows names of projects and files in the solution Microsoft Visual Basic 2005: Reloaded, Second Edition 77

78 Summary (continued) Properties window: sets an object s property values Name property: used to refer to an object in code Text property of a form: specifies the text to be displayed in the title bar of the form Toolbox: contains tools for creating the GUI Label control: contains text that a user cannot edit Event: occurs when user interacts with GUI elements Microsoft Visual Basic 2005: Reloaded, Second Edition 78

79 Summary (continued) Event procedure: the code that runs when an event occurs Button control: performs an immediate action when clicked Code editor: provides code templates for each object s event procedures Microsoft Visual Basic 2005: Reloaded, Second Edition 79

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2) Skill Area 336 Explain Essential Programming Concept Programming Language 2 (PL2) 336.2-Apply Basic Program Development Techniques 336.2.1 Identify language components for program development 336.2.2 Use

More information

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2) Skill Area 336 Explain Essential Programming Concept Programming Language 2 (PL2) 336.1-Examine Basic Language Environment 336.1.1 Describe the basic operating environment of the language 336.1.2 Define

More information

Using Visual Basic Studio 2008

Using Visual Basic Studio 2008 Using Visual Basic Studio 2008 Recall that object-oriented programming language is a programming language that allows the programmer to use objects to accomplish a program s goal. An object is anything

More information

Microsoft Visual Basic 2005: Reloaded

Microsoft Visual Basic 2005: Reloaded Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 10 Creating Classes and Objects Objectives After studying this chapter, you should be able to: Define a class Instantiate an object from a class

More information

LESSON B. The Toolbox Window

LESSON B. The Toolbox Window The Toolbox Window After studying Lesson B, you should be able to: Add a control to a form Set the properties of a label, picture box, and button control Select multiple controls Center controls on the

More information

LESSON A. The Splash Screen Application

LESSON A. The Splash Screen Application The Splash Screen Application LESSON A LESSON A After studying Lesson A, you should be able to: Start and customize Visual Studio 2010 or Visual Basic 2010 Express Create a Visual Basic 2010 Windows application

More information

1 Information system An information system is the combination of technology(computers) and people that enable an organization to collect data, store them, and transform them into information Data Data

More information

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET VB.NET Module 1: Getting Started This module introduces Visual Basic.NET and explains how it fits into the.net platform. It explains how to use the programming tools in Microsoft Visual Studio.NET and

More information

Introduction to the Visual Studio 2005

Introduction to the Visual Studio 2005 Chapter 1 Introduction to the Visual Studio 2005 1 INTRODUCTION Included in Visual Studio.NET Visual Basic (VB.Net, VB 7.0) C++ C# (đọc là CSharp) J# (J Sharp).NET Framework 2 CÀI ĐẶT Visual Studio.NET

More information

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#)

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#) Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#) Course Number: 6367A Course Length: 3 Days Course Overview This three-day course will enable students to start designing

More information

An Overview of Visual Basic.NET: A History and a Demonstration

An Overview of Visual Basic.NET: A History and a Demonstration OVERVIEW o b j e c t i v e s This overview contains basic definitions and background information, including: A brief history of programming languages An introduction to the terminology used in object-oriented

More information

CIS 3260 Intro. to Programming with C#

CIS 3260 Intro. to Programming with C# Running Your First Program in Visual C# 2008 McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Run Visual Studio Start a New Project Select File/New/Project Visual C# and Windows must

More information

Chapter 1: A First Program Using C#

Chapter 1: A First Program Using C# Chapter 1: A First Program Using C# Programming Computer program A set of instructions that tells a computer what to do Also called software Software comes in two broad categories System software Application

More information

CIS 3260 Intro. to Programming with C#

CIS 3260 Intro. to Programming with C# Introduction to Programming and Visual C# 2008 McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Describe the process of visual program design and development Explain the term object-oriented

More information

C++ & Object Oriented Programming Concepts The procedural programming is the standard approach used in many traditional computer languages such as BASIC, C, FORTRAN and PASCAL. The procedural programming

More information

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET 2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET Introduction Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the knowledge

More information

Visual Basic.NET Programming Introduction to Visual Basic.NET. (Part I of IV)

Visual Basic.NET Programming Introduction to Visual Basic.NET. (Part I of IV) Visual Basic.NET Programming Introduction to Visual Basic.NET VB.NET Programming Environment (Review) (Part I of IV) (Lecture Notes 1A) Prof. Abel Angel Rodriguez CHAPTER 1 INTRODUCTION TO OBJECT-ORIENTED

More information

2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction

2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction 1. Which language is not a true object-oriented programming language? A. VB 6 B. VB.NET C. JAVA D. C++ 2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a)

More information

Chapter 12. OOP: Creating Object- Oriented Programs. McGraw-Hill. Copyright 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved.

Chapter 12. OOP: Creating Object- Oriented Programs. McGraw-Hill. Copyright 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 12 OOP: Creating Object- Oriented Programs McGraw-Hill Copyright 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. Objectives (1 of 2) Use object-oriented terminology correctly. Create

More information

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course Module 1: Getting Started This module introduces Visual Basic.NET and explains how it fits into the.net platform. It explains how to use the programming tools in Microsoft Visual Studio.NET and provides

More information

UNIT 1. Introduction to Microsoft.NET framework and Basics of VB.Net

UNIT 1. Introduction to Microsoft.NET framework and Basics of VB.Net UNIT 1 Introduction to Microsoft.NET framework and Basics of VB.Net 1 SYLLABUS 1.1 Overview of Microsoft.NET Framework 1.2 The.NET Framework components 1.3 The Common Language Runtime (CLR) Environment

More information

Chapter 12. OOP: Creating Object-Oriented Programs The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 12. OOP: Creating Object-Oriented Programs The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 12 OOP: Creating Object-Oriented Programs McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Use object-oriented terminology correctly Create a two-tier

More information

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Course Number: 2555 Length: 1 Day(s) Certification Exam This course will help you prepare for the following Microsoft Certified Professional

More information

Lecture 1 Introduction Phil Smith

Lecture 1 Introduction Phil Smith 2014-2015 Lecture 1 Introduction Phil Smith Learning Outcomes LO1 Understand the principles of object oriented programming LO2 Be able to design object oriented programming solutions LO3 Be able to implement

More information

CHAPTER 5 GENERAL OOP CONCEPTS

CHAPTER 5 GENERAL OOP CONCEPTS CHAPTER 5 GENERAL OOP CONCEPTS EVOLUTION OF SOFTWARE A PROGRAMMING LANGUAGE SHOULD SERVE 2 RELATED PURPOSES : 1. It should provide a vehicle for programmer to specify actions to be executed. 2. It should

More information

Dive Into Visual C# 2008 Express

Dive Into Visual C# 2008 Express 1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging

More information

Getting started 7. Storing values 21. Creating variables 22 Reading input 24 Employing arrays 26 Casting data types 28 Fixing constants 30 Summary 32

Getting started 7. Storing values 21. Creating variables 22 Reading input 24 Employing arrays 26 Casting data types 28 Fixing constants 30 Summary 32 Contents 1 2 3 Contents Getting started 7 Introducing C# 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a Console project 14 Writing your first program 16 Following the rules 18 Summary 20

More information

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In-

More information

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE 1 Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE Outline 2.1 Test-Driving the Welcome Application 2.2 Overview of the Visual Studio.NET 2003 IDE 2.3 Creating a Project for the

More information

Program and Graphical User Interface Design

Program and Graphical User Interface Design CHAPTER 2 Program and Graphical User Interface Design OBJECTIVES You will have mastered the material in this chapter when you can: Open and close Visual Studio 2010 Create a Visual Basic 2010 Windows Application

More information

Object Orientated Analysis and Design. Benjamin Kenwright

Object Orientated Analysis and Design. Benjamin Kenwright Notation Part 2 Object Orientated Analysis and Design Benjamin Kenwright Outline Review What do we mean by Notation and UML? Types of UML View Continue UML Diagram Types Conclusion and Discussion Summary

More information

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Visual Programming By: S. Sabraz Nawaz

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Visual Programming By: S. Sabraz Nawaz Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Visual Programming By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty of Management and Commerce South Eastern University

More information

CIS Intro to Programming in C#

CIS Intro to Programming in C# OOP: Creating Classes and Using a Business Tier McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Understand how a three-tier application separates the user interface from the business

More information

Object oriented programming Concepts

Object oriented programming Concepts Object oriented programming Concepts Naresh Proddaturi 09/10/2012 Naresh Proddaturi 1 Problems with Procedural language Data is accessible to all functions It views a program as a series of steps to be

More information

INTRODUCTION TO VISUAL BASIC 2010

INTRODUCTION TO VISUAL BASIC 2010 INTRODUCTION TO VISUAL BASIC 2010 Microsoft Visual Basic is a set of programming tools that allows you to create applications for the Windows operating system. With Visual Basic, even a beginner can create

More information

Programming Languages and Program Development

Programming Languages and Program Development Programming Languages and Program Development 1 Programming Languages and How They Work Programming o Process used to create software programs Programmers o People who use programming languages to create

More information

New programming language introduced by Microsoft contained in its.net technology Uses many of the best features of C++, Java, Visual Basic, and other

New programming language introduced by Microsoft contained in its.net technology Uses many of the best features of C++, Java, Visual Basic, and other C#.NET? New programming language introduced by Microsoft contained in its.net technology Uses many of the best features of C++, Java, Visual Basic, and other OO languages. Small learning curve from either

More information

Advanced Object-Oriented Programming. 11 Features. C# Programming: From Problem Analysis to Program Design. 4th Edition

Advanced Object-Oriented Programming. 11 Features. C# Programming: From Problem Analysis to Program Design. 4th Edition 11 Features Advanced Object-Oriented Programming C# Programming: From Problem Analysis to Program Design C# Programming: From Problem Analysis to Program Design 1 4th Edition Chapter Objectives Learn the

More information

Analysis of the Benchmark while Extracting Data from Database or XML File for Different Platforms

Analysis of the Benchmark while Extracting Data from Database or XML File for Different Platforms Analysis of the Benchmark while Extracting Data from Database or XML File for Different Platforms Ognian Nakov, Desislava Petrova Abstract: The purpose of the research is the comparison between the extracting

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

Object-Oriented Programming

Object-Oriented Programming Object-Oriented Programming 1. What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, such as classes that contain properties, methods, fields, and events. An object

More information

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz Senior Lecturer in MIT Department of MIT Faculty of Management and Commerce Rapid Application

More information

Program Contents: DOTNET TRAINING IN CHENNAI

Program Contents: DOTNET TRAINING IN CHENNAI DOTNET TRAINING IN CHENNAI NET Framework - In today s world of enterprise application development either desktop or Web, one of leaders and visionary is Microsoft.NET technology. The.NET platform also

More information

STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING

STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING OBJECT ORIENTED PROGRAMMING STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING 1. Object Oriented Programming Paradigms 2. Comparison of Programming Paradigms 3. Basic Object Oriented Programming

More information

Chapter 5 Object-Oriented Programming

Chapter 5 Object-Oriented Programming Chapter 5 Object-Oriented Programming Develop code that implements tight encapsulation, loose coupling, and high cohesion Develop code that demonstrates the use of polymorphism Develop code that declares

More information

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline 2 T U T O R I A L Objectives In this tutorial, you will learn to: Navigate Visual Studio.NET s Start Page. Create a Visual Basic.NET solution. Use the IDE s menus and toolbars. Manipulate windows in the

More information

Install using the Umbraco Package Manager

Install using the Umbraco Package Manager Installation instructions Using the Umbraco Package Manager This documentation is available and updated online http://www.bendsoft.com/downloads/tools- for- umbraco/sharepoint- doclib- for- umbraco/installation/

More information

Introduction to.net Framework Week 1. Tahir Nawaz

Introduction to.net Framework Week 1. Tahir Nawaz Introduction to.net Framework Week 1 Tahir Nawaz .NET What Is It? Software platform Language neutral In other words:.net is not a language (Runtime and a library for writing and executing written programs

More information

Software Development. Modular Design and Algorithm Analysis

Software Development. Modular Design and Algorithm Analysis Software Development Modular Design and Algorithm Analysis Data Encapsulation Encapsulation is the packing of data and functions into a single component. The features of encapsulation are supported using

More information

C # Coding Standards for.net By Lance Hunt. Document Version 1.13 August Copyright Lance Hunt 2004 All Rights Reserved

C # Coding Standards for.net By Lance Hunt. Document Version 1.13 August Copyright Lance Hunt 2004 All Rights Reserved C # Coding Standards for.net By Lance Hunt Document Version 1.13 August 2004 Copyright Lance Hunt 2004 All Rights Reserved Published by Lance Hunt Please submit comments, questions, and feedback to http://weblogs.asp.net/lhunt/.

More information

Computer Science 4U Unit 1. Programming Concepts and Skills Modular Design

Computer Science 4U Unit 1. Programming Concepts and Skills Modular Design Computer Science 4U Unit 1 Programming Concepts and Skills Modular Design Modular Design Reusable Code Object-oriented programming (OOP) is a programming style that represents the concept of "objects"

More information

Discovering Computers 2008

Discovering Computers 2008 Discovering Computers 2008 Chapter 13 (a) Programming Languages and Program Development 1 Chapter 13 Objectives Differentiate between machine and assembly languages Identify and discuss the purpose of

More information

C # Coding Standards for.net By Lance Hunt. Document Version 1.13a August Copyright Lance Hunt 2004 All Rights Reserved

C # Coding Standards for.net By Lance Hunt. Document Version 1.13a August Copyright Lance Hunt 2004 All Rights Reserved C # Coding Standards for.net By Lance Hunt Document Version 1.13a August 2004 Copyright Lance Hunt 2004 All Rights Reserved Published by Lance Hunt Please submit comments, questions, and feedback to http://weblogs.asp.net/lhunt/.

More information

I101/B100 Problem Solving with Computers

I101/B100 Problem Solving with Computers I101/B100 Problem Solving with Computers By: Dr. Hossein Hakimzadeh Computer Science and Informatics IU South Bend 1 What is Visual Basic.Net Visual Basic.Net is the latest reincarnation of Basic language.

More information

Unit 1: Visual Basic.NET and the.net Framework

Unit 1: Visual Basic.NET and the.net Framework 1 Chapter1: Visual Basic.NET and the.net Framework Unit 1: Visual Basic.NET and the.net Framework Contents Introduction to.net framework Features Common Language Runtime (CLR) Framework Class Library(FCL)

More information

Oops known as object-oriented programming language system is the main feature of C# which further support the major features of oops including:

Oops known as object-oriented programming language system is the main feature of C# which further support the major features of oops including: Oops known as object-oriented programming language system is the main feature of C# which further support the major features of oops including: Abstraction Encapsulation Inheritance and Polymorphism Object-Oriented

More information

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#)

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#) Introduction to Microsoft.NET Framework Programming using VS 2005 (C#) Course Length: 5 Days Course Overview This instructor-led course teaches introductory-level developers who are not familiar with the

More information

Instructions for writing Web Services using Microsoft.NET:

Instructions for writing Web Services using Microsoft.NET: Instructions for writing Web Services using Microsoft.NET: Pre-requisites: Operating System: Microsoft Windows XP Professional / Microsoft Windows 2000 Professional / Microsoft Windows 2003 Server.NET

More information

Chapter 2. Building Multitier Programs with Classes The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 2. Building Multitier Programs with Classes The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 2 Building Multitier Programs with Classes McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives Discuss object-oriented terminology Create your own class and instantiate

More information

Chapter 1. Introduction to Computers and Java Objects. Background information. » important regardless of programming language. Introduction to Java

Chapter 1. Introduction to Computers and Java Objects. Background information. » important regardless of programming language. Introduction to Java Chapter 1 Introduction to Computers and Java Objects Background information» important regardless of programming language Introduction to Java Chapter 1 Java: an Introduction to Computer Science & Programming

More information

Visual Basic 2008 The programming part

Visual Basic 2008 The programming part Visual Basic 2008 The programming part Code Computer applications are built by giving instructions to the computer. In programming, the instructions are called statements, and all of the statements that

More information

Limnor Studio Getting Started

Limnor Studio Getting Started Limnor Studio Getting Started Longflow Enterprises Ltd. Tuesday, October 20, 2009 Contact: info@limnor.com 1 Introduction... 1 1.1 Limnor Studio... 1 1.2 Limnor Codeless Visual Programming... 3 2 Installation...

More information

REVIEW OF CHAPTER 1 1

REVIEW OF CHAPTER 1 1 1 REVIEW OF CHAPTER 1 Trouble installing/accessing Visual Studio? 2 Computer a device that can perform calculations and make logical decisions much faster than humans can Computer programs a sequence of

More information

Developing Windows Applications with Microsoft Visual Studio 2010

Developing Windows Applications with Microsoft Visual Studio 2010 Developing Windows Applications with Microsoft Visual Studio 2010 Course 10262A: Five days; Instructor-Led Course Description: In this course, experienced developers who know the basics of Windows Forms

More information

Contents About This Guide... 5 About Notifications... 5 Managing User Accounts... 6 Managing Companies Managing Password Policies...

Contents About This Guide... 5 About Notifications... 5 Managing User Accounts... 6 Managing Companies Managing Password Policies... Cloud Services Identity Management Administration Guide Version 17 July 2017 Contents About This Guide... 5 About Notifications... 5 Managing User Accounts... 6 About the User Administration Table...

More information

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview Introduction to Visual Basic and Visual C++ Introduction to Java Lesson 13 Overview I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Overview JDK Editions Before you can write and run the simple

More information

JAVA: A Primer. By: Amrita Rajagopal

JAVA: A Primer. By: Amrita Rajagopal JAVA: A Primer By: Amrita Rajagopal 1 Some facts about JAVA JAVA is an Object Oriented Programming language (OOP) Everything in Java is an object application-- a Java program that executes independently

More information

Introduction to Computers and Java

Introduction to Computers and Java Walter Savitch Frank M. Carrano Introduction to Computers and Java Chapter 1 Objectives Overview computer hardware and software Introduce program design and objectoriented programming Overview the java

More information

Zhifu Pei CSCI5448 Spring 2011 Prof. Kenneth M. Anderson

Zhifu Pei CSCI5448 Spring 2011 Prof. Kenneth M. Anderson Zhifu Pei CSCI5448 Spring 2011 Prof. Kenneth M. Anderson Introduction History, Characteristics of Java language Java Language Basics Data types, Variables, Operators and Expressions Anatomy of a Java Program

More information

Chapter 2 Exploration of a Visual Basic.Net Application

Chapter 2 Exploration of a Visual Basic.Net Application Chapter 2 Exploration of a Visual Basic.Net Application We will discuss in this chapter the structure of a typical Visual Basic.Net application and provide you with a simple project that describes the

More information

SYLLABUS B.Com (Computer) VI SEM Subject Visual Basic Unit I

SYLLABUS B.Com (Computer) VI SEM Subject Visual Basic Unit I SYLLABUS B.Com (Computer) VI SEM Subject Visual Basic Unit I UNIT I UNIT II UNIT III UNIT IV UNIT V Introduction to Visual Basic: Introduction Graphics User Interface (GUI), Programming Language (Procedural,

More information

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET Programming Using C#.NET (13MCA53) 1. GENERAL INFORMATION: Academic Year:

More information

Fundamental C# Programming

Fundamental C# Programming Part 1 Fundamental C# Programming In this section you will find: Chapter 1: Introduction to C# Chapter 2: Basic C# Programming Chapter 3: Expressions and Operators Chapter 4: Decisions, Loops, and Preprocessor

More information

Classes, objects, methods and properties

Classes, objects, methods and properties Learning Object 1. African Virtual University Template for extracting a learning object Main Learning Objective Nature of learning object Key concept (s) Source Module information Access source module

More information

Konark - Writing a KONARK Sample Application

Konark - Writing a KONARK Sample Application icta.ufl.edu http://www.icta.ufl.edu/konarkapp.htm Konark - Writing a KONARK Sample Application We are now going to go through some steps to make a sample application. Hopefully I can shed some insight

More information

Readme. HotDocs Developer Table of Contents. About This Version. About This Version. New Features and Enhancements

Readme. HotDocs Developer Table of Contents. About This Version. About This Version. New Features and Enhancements HotDocs Developer 11.0.4 Version 11.0.4 - January 2014 Copyright 2014 HotDocs Limited. All rights reserved. Table of Contents About This Version New Features and Enhancements Other changes from HotDocs

More information

Introduction to the Visual Studio.NET Integrated Development Environment IDE. CSC 211 Intermediate Programming

Introduction to the Visual Studio.NET Integrated Development Environment IDE. CSC 211 Intermediate Programming Introduction to the Visual Studio.NET Integrated Development Environment IDE CSC 211 Intermediate Programming Visual Studio.NET Integrated Development Environment (IDE) The Start Page(Fig. 1) Helpful links

More information

Introduction to OOP Using Java Pearson Education, Inc. All rights reserved.

Introduction to OOP Using Java Pearson Education, Inc. All rights reserved. 1 1 Introduction to OOP Using Java 2 Introduction Sun s implementation called the Java Development Kit (JDK) Object-Oriented Programming Java is language of choice for networked applications Java Enterprise

More information

Low-Level Languages. Computer Programs and Programming Languages

Low-Level Languages. Computer Programs and Programming Languages Computer Programs and Programming Languages What is a computer program? Set of instructions that directs computer to perform tasks Programming used to write instructions 1 Computer Programs and Programming

More information

IT 374 C# and Applications/ IT695 C# Data Structures

IT 374 C# and Applications/ IT695 C# Data Structures IT 374 C# and Applications/ IT695 C# Data Structures Module 1.2: Introduction to Visual C# Xianrong (Shawn) Zheng Spring 2017 1 Outline Computers The Internet Visual C# 2 Introduction C# (pronounced C-sharp):

More information

Developing Data Access Solutions with Microsoft Visual Studio 2010

Developing Data Access Solutions with Microsoft Visual Studio 2010 Developing Data Access Solutions with Microsoft Visual Studio 2010 Course Code: 10265A; Five days; Instructor-Led About this Course In this course, experienced developers who know the basics of data access

More information

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003 CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003 The process of creating a project with Microsoft Visual Studio 2003.Net is to some extend similar to the process

More information

DC69 C# &.NET JUNE C# is a simple, modern, object oriented language derived from C++ and Java.

DC69 C# &.NET JUNE C# is a simple, modern, object oriented language derived from C++ and Java. Q.2 a. What is C#? Discuss its features in brief. 1. C# is a simple, modern, object oriented language derived from C++ and Java. 2. It aims to combine the high productivity of Visual Basic and the raw

More information

Introduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich.

Introduction to Computers and Java. Objectives. Outline. Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich. Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives! Overview computer

More information

Introduction to Computers and Java

Introduction to Computers and Java Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives! Overview computer

More information

Introduction. Programming and

Introduction. Programming and try { // Convert C H Ainput P values T E to R numeric and assign to quantityinteger 1 = int.parse(quantitytextbox.text try { pricedecimal = decimal.parse(pricetextbox.te // Calculate values. extendedpricedecimal

More information

Visual Basic.NET. 1. Which language is not a true object-oriented programming language?

Visual Basic.NET. 1. Which language is not a true object-oriented programming language? Visual Basic.NET Objective Type Questions 1. Which language is not a true object-oriented programming language? a.) VB.NET b.) VB 6 c.) C++ d.) Java Answer: b 2. A GUI: a.) uses buttons, menus, and icons.

More information

Advanced Programming Using Visual Basic 2008

Advanced Programming Using Visual Basic 2008 Building Multitier Programs with Classes Advanced Programming Using Visual Basic 2008 The OOP Development Approach OOP = Object Oriented Programming Large production projects are created by teams Each

More information

Introduction to Object-Oriented Programming

Introduction to Object-Oriented Programming 1/9 Introduction to Object-Oriented Programming Conception et programmation orientées object, B. Meyer, Eyrolles Object-Oriented Software Engineering, T. C. Lethbridge, R. Laganière, McGraw Hill Design

More information

Introduction to OOP. Procedural Programming sequence of statements to solve a problem.

Introduction to OOP. Procedural Programming sequence of statements to solve a problem. Introduction to OOP C++ - hybrid language improved and extended standard C (procedural language) by adding constructs and syntax for use as an object oriented language. Object-Oriented and Procedural Programming

More information

Building non-windows applications (programs that only output to the command line and contain no GUI components).

Building non-windows applications (programs that only output to the command line and contain no GUI components). C# and.net (1) Acknowledgements and copyrights: these slides are a result of combination of notes and slides with contributions from: Michael Kiffer, Arthur Bernstein, Philip Lewis, Hanspeter Mφssenbφck,

More information

Building Web Sites Using the EPiServer Content Framework

Building Web Sites Using the EPiServer Content Framework Building Web Sites Using the EPiServer Content Framework Product version: 4.60 Document version: 1.0 Document creation date: 28-03-2006 Purpose A major part in the creation of a Web site using EPiServer

More information

C# Syllabus. MS.NET Framework Introduction

C# Syllabus. MS.NET Framework Introduction C# Syllabus MS.NET Framework Introduction The.NET Framework - an Overview Framework Components Framework Versions Types of Applications which can be developed using MS.NET MS.NET Base Class Library MS.NET

More information

Introduction to Computers and Java

Introduction to Computers and Java Introduction to Computers and Java Harald Gall, Prof. Dr. Institut für Informatik Universität Zürich http://seal.ifi.uzh.ch 2008 W. Savitch, F.M. Carrano, Pearson Prentice Hall Objectives Overview computer

More information

PROGRAMMING IN C++ COURSE CONTENT

PROGRAMMING IN C++ COURSE CONTENT PROGRAMMING IN C++ 1 COURSE CONTENT UNIT I PRINCIPLES OF OBJECT ORIENTED PROGRAMMING 2 1.1 Procedure oriented Programming 1.2 Object oriented programming paradigm 1.3 Basic concepts of Object Oriented

More information

Introduction to.net, C#, and Visual Studio. Part I. Administrivia. Administrivia. Course Structure. Final Project. Part II. What is.net?

Introduction to.net, C#, and Visual Studio. Part I. Administrivia. Administrivia. Course Structure. Final Project. Part II. What is.net? Introduction to.net, C#, and Visual Studio C# Programming Part I Administrivia January 8 Administrivia Course Structure When: Wednesdays 10 11am (and a few Mondays as needed) Where: Moore 100B This lab

More information

1. A Web Form created in Visual Basic can only be displayed in Internet Explorer. True False

1. A Web Form created in Visual Basic can only be displayed in Internet Explorer. True False True / False Questions 1. A Web Form created in Visual Basic can only be displayed in Internet Explorer. 2. Windows Explorer and Internet Explorer are Web browsers. 3. Developing Web applications requires

More information

Lab 4: Introduction to Programming

Lab 4: Introduction to Programming _ Unit 2: Programming in C++, pages 1 of 9 Department of Computer and Mathematical Sciences CS 1410 Intro to Computer Science with C++ 4 Lab 4: Introduction to Programming Objectives: The main objective

More information

Datastore Model Designer

Datastore Model Designer Datastore Model Designer The Datastore Model Designer allows you to define the datastore model for your Wakanda application. A model is a description of how data will be accessed and stored into structures

More information

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( )

SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM ( ) SECURED PROGRAMMING IN.NET DETAILED TRAINING CONTENT INDUSTRIAL TRAINING PROGRAM (2013-2014) MODULE: C# PROGRAMMING CHAPTER 1: INTRODUCING.NET AND C# 1.1 INTRODUCTION TO LANGUAGES C++ C# DIFFERENCES BETWEEN

More information