Introduction to Visual Basic. NET,. NET Framework and Visual Studio

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

Programming Paradigms and languages
Visual and Internet Programming using JAVA
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
 2009 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and Visual C#
 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.
 2002 Prentice Hall. All rights reserved. Week 1 - Introduction to Object- Oriented Programming Outline 1.1 Machine Languages, Assembly Languages and.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
 2002 Prentice Hall. All rights reserved. 1 Chapter 1 – Introduction to Computers, Internet and Visual Basic.NET Outline 1.1Introduction 1.2What is a.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
An Introduction to C# and the .NET Framework
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
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.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
CSC300 Visual Programming Dr. Craig Reinhart. Objectives Teach the basics of C++ –You won’t be an expert but hopefully a very good novice –GUI development.
High thoughts must have high language. Aristophanes
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
Microsoft Visual Basic 2005: Reloaded Second Edition
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
IE 411/511: Visual Programming for Industrial Applications
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 1 – Car Payment Calculator and Guess the Number.
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
Programming in C#. I. Introduction C# (or C-Sharp) is a programming language. C# is used to write software that runs on the.NET Framework. Although C#
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.
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
ISYS 812 Business Software Development David Chao.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Chapter 2 – Introduction to the Visual Studio .NET IDE
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.
Microsoft .NET A platform that can be used for building and running windows and web applications such that the software is platform and device-independent.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
 2007 Pearson Education, Inc. All rights reserved Introduction to the Visual Basic Express 2005 IDE.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
INTRO. To I.T Razan N. AlShihabi
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Introduction to .NET framework
.NET Omid Darroudi.
 2001 Prentice Hall, Inc. All rights reserved.
Chapter 1 – Introduction to Computers, the Internet, and the Web
Chapter 1: An Introduction to Visual Basic 2015
Introduction to Computer CC111
Introduction to Visual Basic 2008 Programming
Chapter 2 – Introduction to the Visual Studio .NET IDE
Introduction to .NET Framework Ch2 – Deitel’s Book
1. Introduction to Visual Basic
Introduction to the Visual C# 2005 Express Edition IDE
An Introduction to Visual Basic .NET and Program Design
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
VISUAL BASIC.
Advanced Programming: C# Lecture 01: Introduction
Chapter 2 – Introduction to the Visual Studio .NET IDE
CIS16 Application Development Programming with Visual Basic
CIS16 Application Development – Programming with Visual Basic
Introduction to .NET By : Mr. V. D. Panchal Content :
Introduction to Visual Basic and Object Oriented Programming
and Program Development
Visual Programming Lecture 1.
Chapter 1 – Introduction to Computers, the Internet, and the Web
Presentation transcript:

Introduction to Visual Basic. NET,. NET Framework and Visual Studio Introduction to Visual Basic .NET, .NET Framework and Visual Studio .NET Outline 1.7 Introduction to Visual Basic .NET 1.10 Structured Programming 1.11 Object Oriented Programming 1.16 Introduction to Microsoft .NET 1.17 Introduction to .NET Framework 2.1 Introduction to Visual Studio .NET 2.6 Simple Program: Displaying Text and an Image

1.7 Introduction to Visual Basic .NET History of Visual Basic Evolved from BASIC Beginner’s All-Purpose Symbolic Instruction Code Introduction to programming for novices Introduced by Microsoft (1991) Made programming for Windows much easier IDE facilitates quicker programming Rapid Application Development Provided many extra features Event handling Graphical user interfaces Object-oriented programming

1.7 Introduction to Visual Basic .NET (II) .NET Strategy Motivated by popularity of electronic devices Provide interaction between wide variety of devices Web-based applications distributed to different devices Cell phones Personal Digital Assistants Personal computers Allow communication between programs of disparate languages

1.7 Introduction to Visual Basic .NET (III) Enhanced object orientation Powerful library of components Application development made even quicker Enhanced language interoperability Interaction between different languages Old software compatible with Visual Basic .NET programs Interaction over the Internet Simple Object Access Protocol (SOAP) Extensible Markup Language (XML) Promotes use of Web services

1.10 Structured Programming Early Software Development Complex and costly for businesses (1960s) Costs exceeded budgets Final products unreliable Research led to structured programming Disciplined approach to programming Programs clear and easy to modify Several languages resulted from research C, Pascal, Ada, ... Avoid GOTO's

1.11 Object Oriented Programming Packaging scheme for creating software units Units are objects Any noun can be represented as an object Date object, time object, car object Have properties Size, color, weight Perform actions Moving, sleeping, drawing Defined in classes Specify general format Provide specific attributes and behaviors

1.11 Object Oriented Programming (II) Advantages over structured programming More natural process Results in better productivity Classes provide reusability Microsoft Foundation Classes (MFC) Easier to maintain Programs more understandable Focus on behaviors and interactions Less attention to details

1.16 Introduction to Microsoft .NET .NET initiative Introduced by Microsoft (June 2000) Vision for embracing the Internet in software development Independence from specific language or platform Applications developed in any .NET compatible language Visual Basic .NET, Visual C++ .NET, C# and more Programmers can contribute to applications using the language in which they are most competent Architecture capable of existing on multiple platforms New program development process Provides increased productivity Additional information available at Microsoft Web site www.microsoft.com/net

1.17 .NET Framework .NET Framework Heart of .NET strategy Manages and executes applications and Web services Provides security, memory management and other programming capabilities Includes Framework class library (FCL) Pre-packaged classes ready for reuse Used by any .NET language Details contained in Common Language Specification (CLS) Submitted to European Computer Manufacturers Association to make the framework easily converted to other platforms Executes programs by Common Language Runtime (CLR)

.NET Framework Class Libraries Compliant Languages Fonte: Manuel Costa, Microsoft Portugal

Common Language Runtime Central part of framework Executes Visual Basic .NET programs Compilation process Two compilations take place Programs compiled to Microsoft Intermediate Language (MSIL) Defines instructions for CLR MSIL code translated into machine code Machine code for a particular platform

Common Language Runtime (II) Why two compilations? Platform independence .NET Framework can be installed on different platforms Execute .NET programs without any modifications to code Language independence .NET programs not tied to particular language Programs may consist of several .NET-compliant languages Old and new components can be integrated Other advantages of CLR Execution-management features Manages memory, security and other features Relieves programmer of many responsibilities More concentration on program logic

2.1 Visual Studio .NET Visual Studio .NET Visual programming Microsoft’s Integrated Development Environment (IDE) Used to create, run and debug programs (applications) Visual programming Dragging and dropping predefined building blocks into place to create a simple Visual Basic program

Fig. 2.1 Start Page in Visual Studio .NET. Location bar Fig. 2.1 Start Page in Visual Studio .NET.

Fig. 2.2 New Project dialog.

solution explorer properties window Fig. 2.3 Design view of Visual Studio .NET IDE.

2.6 Simple Program: Displaying Text and an Image Fig. 2.15 Simple program executing.

Fig. 2.16 Creating a new Windows Application.

Fig. 2.17 Setting the project location in the Project Location dialog.

Fig. 2.18 Setting the form’s Text property.

Fig. 2.19 Form with sizing handles.

Fig. 2.20 Changing the form’s BackColor property.

Fig. 2.21 Adding a label to the form.

Fig. 2.22 Label in position with its Text property set.

Fig. 2.23 Properties window displaying the label’s properties.

Fig. 2.24 Font window for selecting fonts, styles and sizes.

Fig. 2.25 Centering the label’s text.

Fig. 2.26 Inserting and aligning the picture box.

Fig. 2.27 Image property of the picture box.

Fig. 2.28 Selecting an image for the picture box.

Fig. 2.29 Picture box displaying an image.

Fig. 2.30 IDE in run mode, with the running application in the foreground.