ILM Proprietary and Confidential -

Slides:



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

Abdul Waseem.  Why VB.NET  What is new in VB.NET  Update to VB.NET?
INHERITANCE BASICS Reusability is achieved by INHERITANCE
Written by: Dr. JJ Shepherd
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.
Objectives Introduction to Inheritance and Composition (Subclasses and SuperClasses) Overriding (and extending), and inheriting methods and constructors.
Introduction to VB.NET Fiona Du. Agenda Why VB.NET What is new in VB.NET Update to VB.NET? VB.NET Language Essential.
Introduction to the C# Programming Language for the VB Programmer.
VBA Modules, Functions, Variables, and Constants
Object-Oriented Application Development Using VB.NET 1 Creating a String Array Code to create a String array: ' declare a String array with 4 elements.
Java Syntax Primitive data types Operators Control statements.
VB Classes ISYS 573. Object-Oriented Concepts Abstraction: –To create a model of an object, for the purpose of determining the characteristics (properties)
Arrays Array of Controls: several controls, of the same type (Class: a prototype for an object indicating the properties and methods), that have the same.
VB Classes ISYS 512. Adding a Class to a Project Project/Add Class –*** MyClass is a VB keyword. Steps: –Adding properties Declare Public variables in.
C# vs. C++ What's Different & What's New. An example C# public sometype myfn { get; set; } C++ public: sometype myfn { sometype get (); void set (sometype.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 19 Clicker Questions November 3, 2009.
Eric Vogel Software Developer A.J. Boggs & Company.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.
CSCI 3327 Visual Basic Chapter 6: Methods: A Deeper Look UTPA – Fall 2011.
Programming Pillars Introduction to Object- Oriented Programming.
Basic Java Syntax CSE301 University of Sunderland Harry R Erwin, PhD.
Java ProgrammingtMyn1 Java Programming Timo Mynttinen Mikkeli University of Applied Sciences.
Arrays and 2D Arrays.  A Variable Array stores a set of variables that each have the same name and are all of the same type.  Member/Element – variable.
Lecture Set 11 Creating and Using Classes Part B – Class Features – Constructors, Methods, Fields, Properties, Shared Data.
CS212: Object Oriented Analysis and Design Lecture 7: Arrays, Pointers and Dynamic Memory Allocation.
ILM Proprietary and Confidential -
 Classes in c++ Presentation Topic  A collection of objects with same properties and functions is known as class. A class is used to define the characteristics.
Applications Development
CSC1401 Classes - 2. Learning Goals Computing concepts Adding a method To show the pictures in the slide show Creating accessors and modifiers That protect.
Visual C# 2012 for Programmers © by Pearson Education, Inc. All Rights Reserved.
CSCI 3327 Visual Basic Chapter 9: Object-Oriented Programming: Classes and Objects UTPA – Fall 2011.
Visual Basic.NET Preview David Stevenson Consulting Software Engineer, ABB
Visual Basic Programming I 56:150 Information System Design.
Procedures Subs and Functions. Procedures Before OOP, subroutines were the primary high-level way to organize a program. In OOP, this role has been taken.
CHAPTER 9 PART II. MULTIDIMENSIONAL ARRAYS Used to represent tables of values arranged in rows and columns. Table element requires two indexes: row and.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
Arrays Chapter 8. Overview u General discussion u Variable arrays u Control arrays u Multi-dimensional variable arrays  Two-dimensional  Three-dimensional.
Object-Based Programming in VB.NET. Must Understand Following: Encapsulation Information hiding Abstract Data Type Class, Instance, Reference Variable.
Classes, Interfaces and Packages
Slide 1 Controls v Control naming convention –Label: lblName –Command Button: cmdName –Text Box: txtName.
Written by: Dr. JJ Shepherd
Visual Basic Review LBS 126. VB programming Project Form 1Form 2Form 3 Text boxButton Picture box Objects Text box Button Objects.
AP Java Ch. 4 Review Question 1  Java methods can return only primitive types (int, double, boolean, etc).
C# Fundamentals An Introduction. Before we begin How to get started writing C# – Quick tour of the dev. Environment – The current C# version is 5.0 –
Features of.net Language independent Object oriented program Multi threading Exception handling Drag and drop Linq
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 10 Java Fundamentals Objects/ClassesMethods.
INTRODUCTION TO CLASSES & OBJECTS CREATING CLASSES USING C#
Sadegh Aliakbary Sharif University of Technology Fall 2010.
These materials where developed by Martin Schray
.NET MCQs MULTIPLE CHOICE QUESTION
Programming Right from the Start with Visual Basic .NET 1/e
Creating and Using Objects, Exceptions, Strings
Examples of Classes & Objects
Haidong Xue Summer 2011, at GSU
More About Objects and Methods
Microsoft Visual Basic 2005: Reloaded Second Edition
Introduction to VB.NET Fiona Du.
Method.
2. Understanding VB Variables
Using local variable without initialization is an error.
group work #hifiTeam
Introduction to VB.NET Fiona Du.
Classes & Objects: Examples
Arrays.
Tonga Institute of Higher Education
CIS16 Application Development and Programming using Visual Basic.net
Methods.
Java Programming Language
NAME 436.
5. 3 Coding with Denotations
Presentation transcript:

ILM Proprietary and Confidential -

Complete object orientation  Inheritance  Method overloading  Constructors and destructors  Interfaces  Delegates  Shared members (Static members) Structured exception handling Multi-threading New in VB.NET ILM Proprietary and Confidential -

Lower bound of an array is always 0 Lower bound of an array can not be changed with OPTION BASE statement OPTION BASE statement is not supported in VB.NET Changes in VB.NET ILM Proprietary and Confidential -

Can not specify fixed size array which can not be resized with ReDim statement  VB 6.0 Syntax Dim Month(0 to 11) as Integer  VB.NET Syntax Dim Month(12) as Integer Dim Month() as Integer = new Integer(12) Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0, you can use ReDim statement to declare and initialize an array In VB.NET, you have to declare an array with Dim, and re-initialize it with ReDim Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0, you can declare a String of a fixed size  Dim Name as String * 30 In VB.NET, you can not declare fixed size String variables. Changes in VB.NET ILM Proprietary and Confidential -

Changes in integer types as listed below  In VB bits = Integer 32 bits = Long 64 bits = {does not exist}  In VB.NET 16 bits = Short 32 bits = Integer 64 bits = Long Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0  Variant serves as universal data type In VB.NET  Object serves as universal data type  Object provides all variant functionality  Variant does not exist in VB.NET  VarType function is not supported Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0  And, Or, Xor, and Not are used for both Boolean and Bitwise operations In VB.NET  And, Or, Xor, Not are strictly Boolean  BitAnd, BitOr, BitXor, BitNot are Bitwise operators Changes in VB.NET ILM Proprietary and Confidential -

VB 6.0  Default properties are supported on objects and controls VB.NET  Default properties are not supported Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0  Structure is declared with Type statement and all members are public In VB.NET  Structure is declared with Structure statement, and all members must have access modifier  Type statement is not supported Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0 Dim I, J as Integer  I is variant, J is Integer In VB.NET Dim I, J as Integer  I is Integer, J is Integer Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0 Set O = new Object  Sets O as Nothing, and it is not created until its first used In VB.NET  Set statement does not exist  O = new Object will create instance right away Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0  You can declare Optional parameter without default value In VB.NET  Every Optional parameter must specify default value which would be passed if parameter is not passed Changes in VB.NET ILM Proprietary and Confidential -

In VB6.0  Parenthesis are required if calling function but not if calling Sub In VB.NET  Parenthesis are always required Changes in VB.NET ILM Proprietary and Confidential -