Re: Experience of converting VB6 applications to Visual Basic.net

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




The good part about going from vb to vb.net is that you can use alot of the same syntax.
The bad part about going from vb to vb.net is that you can use alot of the same syntax.

My opinion ( << only 1 of many >> ) is that you can bring bad vb6 habits with you.
First off, if you go vb.net, make sure you go to project properties and select "Option Explicit ON" and "Option Strict On".

MS was caught, because it was trying to give vb6'ers (me included) a break when going to .Net.
But that was in conflict with having code that the compiler will give you warnings with.

Second. ADO is not ADO.NET. DO NOT RELY ON CONVERSION WIZARDS. If you see the word "ADODB" (as in ADODB.Recordset) in your .Net code, you're way off.

5 years ago you could have argued it wasn't a good thing.
Now, I think its not much of an argument.
You need to go to .Net.

Try calling MS and asking for help with a VB4 (16 bit) issue.

MS forces advancement, you just gotta play their game.

Most people could write pages and pages. Me too. But tha'ts what I got off the top of my head.



"Chris Asaipillai" <chris.asaipillai@xxxxxxxxxxxxxx> wrote in message news:464adde5$0$6961$fa0fcedb@xxxxxxxxxxxxxxxxx
Hi there

My compay has a number of Visual Basic 6 applications which are front endeed onto
either SQL Server or Microsoft Access databases.

Now we are in process of planning to re-write these applications into Visual Basic.Net.

My managers main thought is that Visual Basic 6 is (or has!) stopped being supported
by Microsoft.

He needs to present a case to the managers for it

I have 2 questions for you

1) What are the main perceived benefits of Visual Basic.net over Visual Basic 6?
when you have re-written legacy applications?

2) What were the good and bad experiences you had in this process?

We need to present as case to the board of how the company will benefit from
a migration from vb6 to vb.net

Many thanks

Chris

Relevant Pages

  • Re: Killing VB softly with his song, Killing VB softly...with a song.............
    ... your already familiar with the VB syntax and grammar you have to learn OOP ... as applied to the .NET Framework. ... C/C++ applications do not require the framework and run ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Quick Question
    ... The code syntax, and even apparently the same compiler is shared between the ... visual basic have a different forms object model. ... significant difference in the use of the two languages because you're ... much of the applications are built around the forms model, ...
    (comp.databases.ms-access)
  • Re: Pass struct vfsmount to the inode_create LSM hook
    ... You are guaranteed to break some applications. ... No need to use allow_argv0 syntax if the basename of filename and basename of argvare the same ... TOMOYO Linux doesn't unconditionally forbid passing different values for filename and argv. ... TOMOYO Linux allows passing different values for filename and argvonly if it is allowed by allow_argv0 syntax. ...
    (Linux-Kernel)
  • Re: Running a form module from a second form
    ... this syntax will work: ... The key to all this is that a form module is a class module ... >much more complex procedures in other applications I have ...
    (microsoft.public.access.formscoding)
  • Re: Beige G3 long pause before bootup
    ... BTW VersionTracker.com has alot of OS 9 applications go and look. ... I also found out that you can find some cool oldschool games and apps ...
    (comp.sys.mac.system)