dcsimg
Results 1 to 6 of 6

Thread: VB6 code analyzer??

  1. #1

    Thread Starter
    Addicted Member kutlesh's Avatar
    Join Date
    Jun 2018
    Location
    Skopje, Macedonia
    Posts
    195

    VB6 code analyzer??

    I am working on old VB6 application which doesn't seem to have some code structure apart from the whole code is put inside one large monolith class(5500 lines to be exact).

    Is there some free tool available on the Internets, to analyze the quality of the code and possibly get some conclusions?

    Or I should be thinking for an upgrade to VB.NET instead?

  2. #2
    Hyperactive Member
    Join Date
    Mar 2018
    Posts
    395

    Re: VB6 code analyzer??

    Quote Originally Posted by kutlesh View Post
    I am working on old VB6 application which doesn't seem to have some code structure apart from the whole code is put inside one large monolith class(5500 lines to be exact).

    Is there some free tool available on the Internets, to analyze the quality of the code and possibly get some conclusions?

    Or I should be thinking for an upgrade to VB.NET instead?
    There are code analysis tools but they tend to focus on things like unused variables, missing types, etc (http://www.vbforums.com/showthread.p...roject-Scanner)

    From your brief description, it sounds like it just needs to be better organized. If the code works and is generally reliable, it may not be a wise to rewrite it.

  3. #3
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    13,146

    Re: VB6 code analyzer??

    Microsoft had a code analyzer for VB 6 though I am not sure if it is still available nor if it could help you with what you want to do.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    32,794

    Re: VB6 code analyzer??

    If you can find an old copy of MZTools for VB6, it has some cool analytical statistics you may be interested in. As for upgrading... I wouldn't. As long as VB6 works, something of this size at this point in time is probably best serve staying where it's at. It sounds like it would take a while to move something like that over to .NET. And it wouldn't be a imple upgrade. It would actually end up being a complete re-write more likely. At which point, you're more likely to be better off doing a completely new design and starting from the ground up.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Posts
    20,958

    Re: VB6 code analyzer??

    You might consider one or more of the products at http://www.aivosto.com/download.html

    Many of these work for free for Projects of 10 files of less (including the VBP I suspect but probably not RES, FRX, CTX, etc.). Your case may well be small enough for that.

    Or if this is important enough you can buy. Some of the tools would probably be a huge help even if you do choose to port to something else.

    There may still be a few other vendors of this sort of thing out there too.

  6. #6
    Addicted Member
    Join Date
    Feb 2015
    Posts
    195

    Re: VB6 code analyzer??

    You could try Rubberduck
    https://rubberduckvba.wordpress.com/

    It's free and open source.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width