JLH Programs
Programs by Jim Holloman

 FormatVB, VBFormat, PackVB, VBPack, CompareVB, VBCompare, XrefVB, VBXref,
StatsVB, VBStats and FormatCPP are Trademarks (") of  Performance Software, Int'l. (PSI).

[ Home  | FormatCS  | CompCS  | FormatVB  | PackVB  | StatsVB  | DirSiz  | Free  | GUIDList ]



What is FormatVB?     Latest Ver.: 1.6f, 10 May, 2000

     Download: FormatVB
     Purchase: FormatVB

Nothing improves the maintainability of an application more than the readability of
the source code.  FormatVB (") is a program that will improve the maintainability of
an application by reformatting the source code into a readable and consistent
format.  It is a program that does much more than just ensure proper indents.  It
will split WinAPI Declares into multiple lines, split Block Headers (Functions
and Subs) into multiple lines.  It will insert blank lines at strategic locations.  It
will remove excess blank lines between code blocks... and much more!  FormatVB
is extremely useful in ensuring a consistent format within a developmental  group
and it is worth its weight in gold when dealing with code written by others.

        ***  Features of FormatVB  ***

              1)  FAST! execution.  FormatVB will generally process about
                   1,000 lines of code per second.  No other formatting
                   program comes close to FormatVB in performance.
              2)  Extensive Formatting Capabilities.  FormatVB will reformat WinAPI
                   Declares, Event Declares, Function and Sub Headers, Dim
                   Statements, Pubic and Private variables, comments, etc., etc.
              3)  Reformatting in-place (no output filename required).
              4)  User Preferences stored in an INI file (no Command Line
                   options needed).
              5)  Automatic creation of backup files.
              6)  Process entire Projects with one command.
              7)  Process entire Project Groups with one command.
              8)  Process specific files; i.e. MyFile.bas
              9)  Process generic class of files; i.e., *.*, *.cls, *.bas.
            10)  Automatic creation of a Restore.bat file that allows
                   easy return to the state just prior to executing
                   FormatVB.
            11)  Fast and easy to install; fast and easy to remove.
            12)  Does not alter the Registry.
 

        ***  Advantages of FormatVB  ***

           The major advantage of FormatVB is to enforce a consistent and
            very readable format for source code that is developed inhouse.
            This reduces the cost of software maintenance very significantly.
            Anyone that has developed code can attest to the fact that well
            formatted source code is much easier to read and much easier to
            maintain than source code that is not well formatted.

           Another major advantage is realized when you have to deal with
           code that is developed by others; whether it be source code that
           is supplied with many of the programming books, a purchased
           application -- or sample applications.  The code produced by code
           generators also falls into this category.

The best way to appreciate the capabilities of FormatVB is to view a batch of
source code used as input to FormatVB and then examine the output that is
produced by FormatVB from that input.  To demonstrate the capabilities of
FormatVB, the sample input file has been mutilated to represent a worst case
scenario.  You will not find it easy to read.

Please click the two links below.  Click "Back" (on the Toolbar) once you are
on the Text page to return to this page.

To view the sample Input file, Click Here
To view the sample Output file, Click Here

What was your impression?  Let us know what you think by clicking the EMail
link below.  Feedback is appreciated.

Please download a copy of FormatVB and give it a test drive on some of your
code.  We firmly believe, based upon the responses that we have received to
date, that you will be impressed!  It takes about 6 seconds to download,
6 seconds to Unzip and 6 seconds to give it a try.  Can you spare 18 seconds?

FormatVB also works with VBScript and Visual Basic for Applications (VBA).

The evaluation copy is limited to an input filesize of 30Kb.  This allows the
unregistered version to be used by students and by those that have only small
to medium size projects.

Note: Ver. 1.1k, of 14 Sept., '99 added option DoNotModifyCommentsInColOne.
          This option will preserve blocks of code that has been made into comments using
          the VB Edit Toolbar.  Please see the ReadMe.txt file and the FormatVB.ini file for
          details.

Download FormatVB (70Kb)

Purchase FormatVB

For feedback or support email: PSI