Sébastien Côté said:
Hi everybody!
I'm about migrate from VB6 to .Net, and i'd like to know exactly what are
the benefits (real ones) and how i may "import" my old projects. I know
there's many web sites on this, but i want opinion of people who switch from
VB6 on large projects...
Please forgive my poor english!
Thanks alot
Seb
I was in the same shoes you are in now. There's a buttload of improvements,
but some stuff that will annoy you. My biggest annoyance was Control
Arrays, which have gone bye-bye. Mainly, the dependancy on ActiveX is
history, and someother cute things. BTW, lemme give you a hint about
upgrade Wizard, it sucks! I'm rewriting one of my major data applications
from scratch, taking advantage of being able to create controls at run-time,
the addhandlers statement, and tons of other things. Just post in here any
major questions you may have, there's lot's of great folks in here wholove
to help.
BTW, try this:
Dim Test As String = "Hello"
MsgBox(Test.ToUpper)
or
MsgBox(Test.SubString(1,1))
or
MsgBox(Test.Replace("H","e")) '// Pretty sure that's how that went LOL
Just about everything is an object class in the framework, and there really
is somegreat things and time-savors, for instance:
[VB6]
Dim I As Integer
I =0
I = I + 5
[VB.NET]
Dim I As Integer
I += 5
FileIO has drastically changed as well. There is some annoyances with
syntax and changes to the language, but once you get past those, well, just
Multi-threading and System Services alone make it worth it!
HTH,
Sueffel