Re: Code Advisor Q
- From: "Phill W." <p-.-a-.-w-a-r-d-@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Aug 2007 12:22:04 +0100
Pop` wrote:
I just downloaded the MS VB6 Code Advisor to check it out.
Do you folk consider it of any value for a neophyte such as myself?
IIRC, it's supposed to tell you how to change your code - that code that you don't /want/ to change because it runs all your existing software perfectly well and you don't want risk breaking it - so that the code will better "migrate" to VB.Net.
You follow its advice and change your code, feed /that/ into the "upgrade wizard" and it comes out with yet more, different code. Then you finally start to get to grips with the new language, realise that the code you know have is appallingly sub-optimal and re-write it more-or-less from scratch.
Worthwhile? YMMV.
I have NO idea whether I'll ever go to .net; right now I feel no need to, and that seems to be what the program is really aimed at. I'm such a neophyte though, I figure anything that critiques my work might teach me something<g>.
Since VB6 (SP6) /will/ run on Windows Vista (/unlike/ VB.Net 2002 and 2003), there's no pressing need for you to change over to VB.Net.
The Code Advisor is probably of most use to those with truly /massive/ code resources that they need to "port" to the new language with [supposedly] minimal code changes - although, as you've discovered, "minimal" is still pretty extensive.
In the vast majority of cases, you're better off reworking the code using the features of the new language rather than trying to shoe-horn old code into the new compilers.
HTH,
Phill W.
.
- Follow-Ups:
- Re: Code Advisor Q
- From: Pop`
- Re: Code Advisor Q
- References:
- Code Advisor Q
- From: Pop`
- Code Advisor Q
- Prev by Date: Masked Edit control woes
- Next by Date: How to make MSHFlexgrid display at last row
- Previous by thread: Code Advisor Q
- Next by thread: Re: Code Advisor Q
- Index(es):
Relevant Pages
|