Bitwise Logical Operators How does Visual Basic, both VB 6 and VB.NET, evaluate a logical operation like Xor on a mixed expression that includes a logical expression and a number. Plus an intro to more differences between VB 6 and VB.NET in logical operators. Sharing in VB.NET Classes You can access the members of a VB.NET class directly without instantiating the class! ... An example and a counter example from the new book Learning Visual Basic .NET
VB.NET Event Sub Parameters The parameters passed by the system to standard event subroutines have changed dramatically in VB.NET. It's all part of the new sOOPercharged VB.NET. Read all about it here. VB.NET Adds Inheritance The key OOP (Object Oriented Programming) behavior that was added when VB.NET was introduced is Inheritance. VB 6 supported Encapsulation and Polymorphism, but not Inheritance. This About Visual Basic Guide explains the Inheritance keywords. Delegate Events in VB.NET A VB.NET "delegate" lets you manage the way your programs handle standard events like "Click" and "Change". Here's how to do it: Changes in the VB.NET DIM statement 'Option Explicit' is the default in VB.NET. A lot more has changed too. Complex variable declarations are possible and declarations do what you expect them to. Read this short article to see exactly what has changed in the upgrade to VB.NET. Divide by Zero in VB.NET VB.NET allows you to divide by zero and perform other calculations that used to result in a runtime error with VB 6 and earlier. Find out what you can and can't do in VB.NET here! VB.NET Adds Block Level Scope In addition to making required variable declaration the default, VB.NET adds a new block level scope for variable declaration This article shows what has changed, but also explores some dark corners of this change. Structs vs Dims When do you use a structure and when do you use a multidimensional array in Visual Basic? They can do many of the same things in Visual Basic. This short article helps you know when to use one and not the other. More about VBScript and WSH You can use VBScript and WSH (Windows Script Host) to write programs for simple everyday computer maintenance tasks?
1 2 Next |