Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New VB Features
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00425458
Message ID:
00425532
Views:
15
>Among the list of new 'features' in Visual Basic.NET:
>
>- Default properties are no longer supported
>
>- Tests using AND and OR can now be short-circuited
> (only the first condition will be tested if that's all that's necessary)
>
>- Functions use the RETURN clause instead of the function name
>
>- The Set keyword is no longer necessary for object assignments:
>Set o = CREATEOBJECT("Whatever.Whatever")
>is now
>o = CREATEOBJECT("Whatever.Whatever")
>
>- Inheritance
>
>- Variables are passed ByVal by default
>

parentheses required on methods,functions and subs.

Data type changes
Old Integer now =Short
Old Long now =Integer
New Long now 64bit

TRY,CATCH,FINALLY Error

Array must be Dim first
Redim for change size only

Dim Now exact size
VB6= Dim Ele(3) as String ("element0","element1","element2","element3")
VB.net=("element0","element1","element2")

Variant type becomes Object

No auto load for forms

WEND becomes End While

Just to name a few more.

>
>Anyone else see the pattern?

just to name a few more. :)

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform