CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic

Slides:



Advertisements
Similar presentations
Introduction to.NET What is.NET?  A vision Web sites will be joined by Web services New smart devices will join the PC User interfaces will become more.
Advertisements

Programming Our First Java Program Yingcai Xiao. What to Do Set up for Java Programming Write our first Java Program with IDE Write our first Java Program.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
© Prentice Hall CHAPTER 3 Computer Software.
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
Introducing the Common Language Runtime. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution engine.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Introduction 01_intro.ppt
Introduction to.NET Content : – Introduction to.NET Technology – Introduction to Web Based Applications – Introduction to ASP.NET 1 By : Amrendra Sharan.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
Introduction to .Net Framework
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
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.
1 8/29/05CS360 Windows Programming Professor Shereen Khoja.
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.
Introduction to Microsoft.Net Session 01 Mata kuliah: M0874 – Programming II Tahun: 2010.
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to .NET Rui Ye.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
C# Overview and Features. Content I.History of C# II.Architecture III.How to install IV.Features V.Code Sample VI.Microsoft.NET Platform VII.Why use C#
CSCI/CMPE 4341 Topic: Programming in Python Chapter 1: Introduction to Python Xiang Lian The University of Texas – Pan American Edinburg, TX 78539
Computing with C# and the.NET Framework Chapter 1 An Introduction to Computing with C# ©2003, 2011 Art Gittleman.
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,
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Introduction to Computers and Programming.
Component-Based Software Engineering Introduction to.NET Paul Krause.
CSCI 3328 Object Oriented Programming in C# Chapter 1: Introduction to C# Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
Introduction to .NET Framework
ISYS 812 Business Software Development David Chao.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated.
Languages and IDE (Integrated Development Environment)
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
Internal Lab Registeration labreg/lab/signup.aspxhttp:// labreg/lab/signup.aspx
CSCI 3327 Visual Basic Chapter 3: Classes and Objects UTPA – Fall 2011.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Module 1: Overview of the Microsoft .NET Framework
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
Windows Programming, C.-S. Shieh, KUAS EC, Chapter 0 Overview.
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.
Common Language Runtime Introduction  The common language runtime is one of the most essential component of the.Net Framework.  It acts.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
Intro to ASP.NET CS-422 Dick Steflik. What is.NET As applications in the Enterprise become more and more netcentric and less and less standalone.NET is.
Introduction to the Microsoft.NET Framework Chris Wastchak Student Ambassador to Microsoft.
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
.NET Omid Darroudi.
Introduction to Visual Basic 2008 Programming
Introduction to .NET Framework Ch2 – Deitel’s Book
CSCI 3328 Object Oriented Programming in C# Chapter 1: Introduction to C# UTPA – Fall 2012 This set of slides is revised from lecture slides of Prof.
CIS16 Application Development – Programming with Visual Basic
Visual Programming Lecture 1.
Presentation transcript:

CSCI 3327 Visual Basic Chapter 1: Introduction to Visual Basic UTPA – Fall 2011 This set of slides is revised from lecture slides of Prof. John Abraham. -- Xiang Lian

Demo

Objectives In this chapter, you will Recall basic components in a computer system Learn the evolution of programming language Learn the history of Visual Basic Find the differences between structural programing and object-oriented programing Become aware of the .NET Framework for Visual Basic

CSCI 1380: Elements of a Computer System Hardware CPU Main memory Secondary storage Input / Output devices Software System programs Application programs (e.g. Visual Basic)

Programming Languages Machine language Assembly language High-level language

History of Visual Basic BASIC (Beginner's All-purpose Symbolic Instruction Code) 1960, Profs Kemeny and Kurtz 1970s, Bill Gates implemented BASIC on several early PCs Late 1980s ~ early 1990s, Microsoft developed Microsoft Windows graphical user interface (GUI) Basic  Visual Basic Visual Basic is created in Integrated Development Environment (IDE)

Milestones Structured Programming  Disciplined approach to creating clear, correct and easy to modify programs. Pascal 1971 Procedural Programming Object Technology  Packaging Scheme for creating meaningful software units

Object Technology We humans are very good in recognizing and working with objects, such as a pen, a dog, or a human being. We learned to categorize them in such a way that make sense to us. We may categorize them as animate object, inanimate objects, pets, friends, etc.

Object Technology (cont'd) We some times classify objects based on their attributes, for example, green apples or red apples, fat or slim people, etc. If you think about it each object has many attributes. If I ask you list the attributes of an orange, you probably could list many things such as color, shape, weight, smell, etc.

Object Technology (cont'd) In addition to attributes, all objects exhibit behaviors. A dog eats, barks, wags its tail, plays, and begs. A dog exhibits many more other behaviors than this short list. Another thing we need to remember about objects is that objects interact between each other.

Object Technology in Visual Basic Object-oriented E.g. forms, labels, buttons, radios, checkboxes, etc. Properties of objects E.g. background color of forms Event-driven Behaviors  events of objects E.g. clicks

XML (eXtensible Markup Language) HTML has fixed tags which is a limitation XML is definable Separation of data from description of data (data independence) XML can be used by any software or language

ARTICLE.XML file <?xml version = "1.0"?> <!-- Article structured with XML --> <article> <title>Simple XML</title> <date>December 6, 2001</date> <author> <firstName>John</firstName> <lastName>Doe</lastName> </author> <summary>XML is pretty easy.</summary> <content>In this chapter, we present a wide variety of examples that use XML. </content> </article>

What is .NET? .NET is an Internet and Web based infrastructure .NET delivers software as Web Services – XML based. .NET will run in any browser on any platform .NET framework is the infrastructure for the new Microsoft .NET Platform.

What are Web Services? Applications that run on a web server and communicate with other applications The basic platform of Web services is XML + HTTP

What is .NET built on? Windows Servers: SQL Application Center Commerce Server Mobile Information Server Exchange Server BizTalk Server Internet Security Host Integration

.NET Framework A software platform Language-neutral Designed for cross-language compatibility Applications written in VB may reference a DLL file written in any other language 2 components: Common Language Runtime (CLR) Class Libraries

Common Language Runtime Execution Engine of .NET Manages the execution of programs and provides core services: Code compilation Memory allocation Thread management Garbage collection

Common Language Runtime (cont'd) Output of .Net compilation contains a special type of code called Microsoft Intermediate Language (MSIL); it is not executable MSIL is independent of any specific CPU. CLR translates MSIL to executable code when the program is executed Executable code is produced using JIT (just-in-time) compiler. The native code produced by JIT is specific for the CPU.

Class Libraries Designed to integrate with the common language runtime This library gives the program access to runtime environment The class library consists of lots of prewritten code that all the applications created in VB .NET and Visual Studio .NET will use The code in Visual Basic for all the elements like forms, and controls actually comes from the class library

Reasons Why Developers Build Applications Using the .NET Framework Improved Reliability Increased Performance Developer Productivity Powerful Security Integration with Existing Systems Ease of Deployment Mobility Support XML Service Support Support for over 20 Programming Languages Flexible Data Access

Visual Basic (VB) Forms designer In-place menu editor Automatic control anchoring and docking Integrated Development Environment (IDE) Create Web applications using the shared Web forms designer Full object-oriented constructs - inheritance, encapsulation, and polymorphism

Concepts of Object-Oriented Programming Objects Classes Data Abstraction and Encapsulation Inheritance Polymorphism

VB Object-Oriented Approach Emphasis on data rather than procedure Programs are divided into Objects Data is hidden and cannot be accessed by external functions Objects can communicate with each other through functions E.g. click event of a button New data and functions can be easily added whenever necessary Follows bottom-up approach