INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.

Slides:



Advertisements
Similar presentations
Integrated Business Applications with Databases (D3) Jenny Pedler
Advertisements

Introduction to .NET Framework
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Programming Paradigms and languages
Visual Basic.NET Comprehensive Concepts and Techniques What’s new in VB.NET adapted from a presentation on Introduction to Visual Basic.NET by Jeff Quasney.
History of.Net Introduced by Microsoft Earlier technology was VC++ and VB VC++ comes with so many library and VB was so easy to use and not flexible to.
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
.NET Framework Overview Pingping Ma Nov 16 th, 2006.
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.
ISYS 512 Business Application Design and Development with.Net David Chao.
Overview of the.NET Framework. What is the.NET Framework A new computing platform designed to simplify application development A consistent object-oriented.
Introduction to the C# Programming Language for the VB Programmer.
ISYS 512 Business Application Design and Development with.Net David Chao.
ISYS 512 Business Application Design and Development with.Net David Chao.
Chapter 3: Introducing the Microsoft.NET Framework and Visual Basic.NET Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Visual Basic.Net Seminar June 7, Topics Today include  The.Net Framework  Studio.Net Environment  VB.Net  Introduction to VB.Net  Loops and.
Platforms and tools for Web Services and Mobile Applications Introduction to C# Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Introduction to VB.Net ITE-370. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.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.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Overview of Microsoft.Net and Vb.Net ITSE 2349 Spring 2002 Material from Microsoft.Net an Overview for ACC faculty by Stuart Laughton and Introduction.
Introduction to .Net Framework
ISYS 512 Business Application Design and Development with.Net David Chao.
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.
Architecture of.NET Framework .NET Framework ٭ Microsoft.NET (pronounced “dot net”) is a software component that runs on the Windows operating.
.NET Overview. 2 Objectives Introduce.NET –overview –languages –libraries –development and execution model Examine simple C# program.
C# A 1 CSC 298 Introduction to C#. C# A 2 What to expect in this class  Background: knowledge of an object oriented language of the C++, Java, … family.
11 Getting Started with C# Chapter Objectives You will be able to: 1. Say in general terms how C# differs from C. 2. Create, compile, and run a.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to .NET Rui Ye.
Introduction to .NET Framework
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
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#
Week 1: THE C# LANGUAGE Chapter 1: Variables and Expressions ➤ Included in Visual Studio.NET ➤ What the.NET Framework is and what it contains ➤ How.NET.
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.
Introduction to .NET Framework
ISYS 812 Business Software Development David Chao.
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.
1.NET FRAMEWORK CE-105 Spring 2007 Engr. Faisal ur Rehman.
AUC Technologies Projects Consulting, Development, Mentoring, and Training Company Application Foundation Presented By : Naveed Sattar Software Engineer.
Applied Computing Technology Laboratory QuickStart C# Learning to Program in C# Amy Roberge & John Linehan November 7, 2005.
1 C# A brief overview by Jack Senechal and Bryan Powell.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
ISYS 350 Business Application Development David Chao.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Applications Development
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Chapters 2 & 3. .NET Software development model that allows applications created in disparate programming languages to communicate Universal data access.
Introduction to VB.Net ITE-370. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new.
ISYS 512 Business Application Design and Development with.Net David Chao.
July 22, 2001Introduction to.NET1 Introduction to.NET Framework Gholamali Semsarzadeh July 2001.
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
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.
Introduction to .NET Framework
Introduction to .NET Framework
Introduction to Visual Basic 2008 Programming
Introduction to .NET Framework Ch2 – Deitel’s Book
CE-105 Spring 2007 Engr. Faisal ur Rehman
Application Foundation
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
Introduction to .NET Framework
C# and ASP.NET Programming
Presentation transcript:

INTRODUCTION CHAPTER #1 Visual Basic.NET

VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed on them  VB. Net use objects and inheritance with everything Uses exception handling extensively  Like with most OOP languages, exceptions that are not handled will cause programs to abnormally end or exit Uses “generics” with creating classes and Sub programs Provides a quick way to develop heavy duty applications in a windowing environment It is a useful tool for developing event driven programs Can create both windows applications and web applications at the click of a mouse button

VB.Net General features The interface between the Databases and applications  Are the same between web apps and windows apps  All data are transferred between the apps in XML format regardless if it is a web application or a windows application  A copy of the data from the database is loaded into a data set.  Persistent connections between the application and the database no longer exists Every form is a class and new forms now have to be instantiated VB.Net is still not case sensitive

Data Types in VB.NET Data Types and possible values  Integer -> (4 bytes)  Double -> floating point numbers with 14 digits of accuracy (8 Bytes)  Decimal -> decimal values ( 16 bytes replaced currency in 6.0)  Date -> the date (8 Bytes)  Byte -> 0 to 255 (1 Byte)  Char -> Unicode character (2 Bytes)  Boolean ->True or false value (2 Bytes)  Single -> floating point number with 6 digits of accuracy (4 bytes)  Short -> 2 byte integer  Long -> 8 byte integer  String -> an arrangement of alpha-numeric characters varies in length  Object -> any data type 4 bytes

Functions and Sub procedures / Programs in VB.NET (Methods) Functions and sub procedures must either have a sub or function keyword in the function or sub procedure heading They can be either public or private (following the same conventions in OOP languages such as C++ or Java) All parameters are passed by value by default in VB.NET Parameters of any data type may be passed by reference All Objects and arrays are passed by reference not value All events are handled by a sub procedure in VB.NET Functions return a value and Sub Procedures do Not

The.NET Framework Primarily a development platform (mostly effects application development) Consists of two main parts  Common Language Runtime .NET Framework Class Library

CLR (Common Language Runtime) CLR works like a virtual machine in executing all languages. All.NET languages must obey the rules and standards imposed by CLR. Examples:  Object declaration, creation and use  Data types, language libraries  Error and exception handling  Interactive Development Environment (IDE) Development  Mixed language applications  Common Language Specification (CLS)  Common Type System (CTS)  Standard class framework  Automatic memory management  Consistent error handling and safer execution

Compilation of.NET code All.NET languages are first compiled into an intermediate language called MSIL or IL (Microsoft Intermediate Language) The MSIL is then “Just In Time” (JIT) compiled at first execution of the code and managed by the CLR All MSIL or IL code can be compiled directly to native code with the following  Compiling native code will provide faster startup execution of the code  Performance during execution of the code will then be sacrificed  During JIT Optimization is placed on the Managed Code in order to improve performance at the time of execution

.Net Framework Class Library Provide a library of base classes that developers can use in their own applications written in ANY.Net language Because of the use of these base classes, Inheritance can then be extensively used in languages that use the.Net Framework.Net applications can be written by any or a combination of many.Net languages Languages include  VB.Net  C#  J#  Visual C++ (default in studio is set for managed C++)

Framework, Languages, And Tools Base Class Library Common Language Specification Common Language Runtime ADO.NET: Data and XML VBVC++VC# Visual Studio.NET ASP.NET: Web Services and Web Forms JScript… Windows Forms