Presentation is loading. Please wait.

Presentation is loading. Please wait.

ILM Proprietary and Confidential -

Similar presentations


Presentation on theme: "ILM Proprietary and Confidential -"— Presentation transcript:

1 ILM Proprietary and Confidential - http://www.ilmservice.com

2 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 - http://www.ilmservice.com

3 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 - http://www.ilmservice.com

4 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 - http://www.ilmservice.com

5 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 - http://www.ilmservice.com

6 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 - http://www.ilmservice.com

7 Changes in integer types as listed below  In VB6.0 16 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 - http://www.ilmservice.com

8 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 - http://www.ilmservice.com

9 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 - http://www.ilmservice.com

10 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 - http://www.ilmservice.com

11 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 - http://www.ilmservice.com

12 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 - http://www.ilmservice.com

13 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 - http://www.ilmservice.com

14 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 - http://www.ilmservice.com

15 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 - http://www.ilmservice.com


Download ppt "ILM Proprietary and Confidential -"

Similar presentations


Ads by Google