VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A VB6 Source Code Browser

by Dave Carter (3 Submissions)
Category: Complete Applications
Compatability: VB 6.0
Difficulty: Advanced
Originally Published: Wed 25th April 2018
Date Added: Tue 9th February 2021
Rating: (1 Votes)

(Help File Update) A Program to READ VB6 Source Code from a VB6 Project. Select a VBP to start. It is a stand-alone executable not an Add-In. I use it as a companion tool to developing large VB6 projects because it is informative in a way that the VB6 IDE isn't (without writing an Add-In). The idea behind the main screen is that it has 3 view modes that are selected via the option buttons, bottom left from left to right: 1. Source Code View for reading source code. 2. Code Member Use is for finding where a code member is used. 3. Code Member List is for listing all code members in a project. There several functions: Source Code Review reports unused variables, parameters and private methods (e.g. functions, subs and properties). Zip Viewer reads zipped VB6 Projects (perhaps from vbcoders.com) and can unzip them (Unzip32.dll required). It can also perform Search, Scan and source code review on the zipped project. Only unzips VBPs (not a general unzip facility). Copy Project will copy just the development files and any others you specify to a new folder (helpful for de-cluttering a polished project). If you have Zip32.dll it can also zip the newly copied project. Also, checks for a '.manifest' and copies this as well if found. Copy Code Member (e.g. Subs, Functions, Properties, Types, Enums, Constants, API Declares...) can drill down into its target code to discover any and all other code members that are used then sort and list them referentially for quick copying into a new project. Line Use reports at Code Member, Module and Project levels show a breakdown of the code lines into those that are empty, commented, declarative and those that start with a control statement. There is more but too much to mention here, please use the Help File, press F1; the Help File describes most of the forms, why they are there and how to use them. NOTES: Sorry, but Unicode and ASM strings do not work; lost in conversion from plain text to Rich Text (affects text in quotes and comments). Code Members need to be formally declared for things to function as best they can (e.g. use Option Explicit and Dim variables). As mentioned, Unzip32.dll and Zip32.dll are required to get the full functionality available, the Help File has some possible links to get them but they need to be properly installed from Win8 onwards. Release version developed on Win7 which may or may not affect the Project's References, check the VBP for their paths and correct them as needed. Acknoweldgements to Rde for Unzip to Memory, thanks Rohan :) This was not an easy project but it was incredibly interesting and a lot of fun; Essentially, it's an experiment for me to study Code Parsing so there's a research bent to it all. There are some quirks but please remember this was hand written and tested by one bod on his own to suit his own needs at the time. Update, 25 April 2018: included HTML and PDF versions of the Help file for those who do not have Winhelp.exe already installed in answer to issue raised by Greyling007 @ VBC (see comments below) with thanks. Best to use HTML version which first needs unzipping, load the file VBCBExp.HTML. Please report any difficulties with the program's functions, thank you.

Rate A VB6 Source Code Browser

Download A VB6 Source Code Browser

Download A VB6 Source Code Browser (7 MB)

A VB6 Source Code Browser Comments

No comments have been posted about A VB6 Source Code Browser. Why not be the first to post a comment about A VB6 Source Code Browser.

Post your comment

Subject:
Message:
0/1000 characters