VBAcodePrint – Release History

Copyright © 1990-2010 STARPRINT LIMITED

All Rights Reserved
www.starprinttools.com

Version

Description

6.13.110

19th March 2010

Fixed Bugs:

The install does not work if VB6 Runtime is not previously installed.

6.13.109

29th January 2010

Fixed Bugs:

·         The registration codes do not stick

·         The printer selection box on the options form is not wide enough, which now has been moved to the top of the preview window in the right hand pane.

6.13.108

10th July 2009

Fixed Bugs:     
Table of Contents and Procedure Index does not show functions and procedure that have space before ‘sub’ or ‘ function’ keyword.

6.13.107

30th May 2009

Fixed Bugs:

The Addin fails with errors If  My Documents folder is mounted on a network drive. 

6.13.106

1st April 2009

Enhancements:           

Fonts for procedure Index and Table of Contents (TOC) can be customized.

6.13.105

14th December 2008

Fixed Bugs:

·         Macros in the page header/footer are not always substituted

·         Character ‘&’ is output as keyword instead of as text

·         Line labels are output as identifies instead of text

·         Some build-in functions like Trim, left, Right etc are output as keywords instead of identifiers as per VB IDE 

·         An exception occurs when version 6.13.104 is used first time

·         Margins work correctly in all regional and language settings

 

6.13.104

1st November 2008

Fixed Bugs:

 

·         The following options are not restored between VB IDE reloads:

General > ‘Print Table of Contents (TOC)

Options > General > Bitmaps > ‘print at the end of file’

Options > Indenting > ‘Align EOL Comments in column NN’

Options > Indenting > ‘Column Number’

Options > Page Setup > General > Borders

·         The page borders are drawn with the colour of the connecting lines that makes it difficult to separate the connecting lines from the page borderlines. This version always draws the pages border with dark grey color and ‘1pt’ thickness

·         The preview is not updated when ‘Connecting lines’ checkbox is toggled

·         The ‘Procedure headers’ font setting does not change the fonts for the procedure/function header.  The option to set the fonts has been removed in this version as it is not used

·         An additional macro variable {Year} has been provided. This can be used to output the year in the page header/footer. For example, you can set a segment of page header/footer as:

 

© {Year} StarPrint Limited

 

The generated output will show the following in the page/header/footer segment if the output was generated in year 2008:

 

© {2008} StarPrint Limited

6.13.102

9th February 2008

Fixed Bugs:

·          Options for Page footers are not saved across Addin reloads

6.13.101

9th February 2008

Fixed Bugs:

·         Errors occur when page headers and footers are set in the option window

·         Headers and footers are not always output

6.13.100

28th October 2007

All previous versions of VBAcodePrint maintain user options in the Windows registry. Users, who do not have ‘write’ permissions to the Registry, may experience problems using the Addin. VBAcodePrint has been enhanced to manage the user options in file \My Documents\StarPrint Limited\VBAcodePrint\Config\Options.xml  that the logged-on user should always have ‘write’ permission.   

6.13.99
21st July 2007

Microsoft Windows Vista support added


6.13.98
26th May 2007

Fixed Bugs:

·         If more than 10 connecting lines span over a page then the connection numbers are not printed correctly.

 

6.13.97
8th Apr 2007

Enhancement:

·         The browse button on the Export dialogue box displays the file Open dialogue. It should display File Save

·         The add-in has been enhanced to allow formatted code to be copied to the clipboard so that it can be passed into other documents and email

The new feature is available from the VBAcodePrint menu as ‘Copy to Clipboard’. ‘Copy to Clipboard’ buttons are also provided on the Custom selection window and the toolbar. This functionality is only available in the registered version

Fixed Bugs:

·         The source code is not formatted even if the option is selected to do so

 

6.13.95
20th Nov 2006

Fixed Bugs:

·         ‘Procedure Separator’ option on the General options tab does not show user’s selected value

·         The help file index links to empty or wrong topics

 

6.13.94
30th May 2006

Fixed Bugs:

Fix the bug that does not colorize the multi-line source code with a comment as shown below:

 

Dim szText as string
szText =  "tag = 'abc' " & _
          "tag = '123" ' OR " & _
       '  "tag = 'pqr'   AND " & _

 

6.13.93
14th March 2006

Fixed Bugs:

·         If you have a solution with multiple projects in the IDE and select option At the end of each component for Print procedure index from the General options AND select project review option  from the custom selection window then the following error occurs:

    

Error Number  : 91

Description   : Object variable or with block variable not set

Application   : VBAcodePrint

Version       : 6.26.92

Component     : frmPreview

Member        : PrintCustomSelection

Stage         : Extract project name

 

6.13.92

Enhancement:

·         The custom page header and footer strings now support macro and environment variable substitution.

Supported macros are:

{Component Filename - No Path}

{Component Filename}

{Component Name}

{Datetime}

{Date}

{Page}

{Project Filename - No Path}

{Project Filename}

{Project Name}

{Project Name}

 

Environment variable should be enclosed in % characters. For example, %USERNAME%

 

Examples:

1.    Click on Options on the VBAcodePrint menu

2.    Click on Page Setup node

3.    Click on Headers & Footer node

4.    Enter a string that contains one of the above macros or %environment variable% in the left, centre or right segment for header and or footer as show below:

 

To Display

Enter

Printed on 29/12/2005

Printer on {Date}

Produced by J.S Nahil

Produced by %USERNAME%

Page 5 Printed 31/12/2005 at 12:45PM

 

Page {Page} Printed  {Date} at {Time}

 

 

 

6.13.91

·         Fix the bug that cause any text enclosed in {} to be rendered as RTF

6.13.90

·         Improved performance and error handling

·         Remove dependency on shared DLL AutoErrorTrace.DLL  to avoid conflict with other Starprint products

6.13.89

Fixed Bugs:

·         If the last token (before colon ‘:’) in a multi-line statement is a keyword then it is always output using Identifier font attributes rather than as a keyword.

Example:

DoScan = True: Multi_Line_count = 21

In the above statement True will be output as an identifier instead of a keyword. 

6.13.88

Fixed Bugs:

·         If a source code line contains square brackets then the generated output will not print the character after the closing square bracket.

Example:

If (me.data1.Recordset![name]) = “” then

Will be output as:

If (me.data1.Recordset![name] = “” then  

6.13.87

Fixed Bugs:

Error 372 failed to load control ‘ctxtNumericTextBox’ from spNumericTextBox.ocx

6.13.86

Fixed Bugs:

·         If a string is too long to fit on a line then it is printed in multiple continuation lines. The last continuation line does not print the closing “ character  

·         Indentation of the lines following a label is not always correct

·         Set the correct tab order on the Options window

·         Clear the bug that caused unregistered version to stop printing/exporting after 2 pages instead of 3

·         The help file refers to option ‘Include Form Bitmaps’ and the options dialog box has label ‘Include Bitmaps’. The help file has been corrected

·         “Print Procedure Index” option is not remembered

 

Enhancements:

 

·         Removed dependency on 3rd part OCX from FarPoint to reduce application size

·         Help file has been updated

 

6.13.85

Enhancements:

·         The Register button on various forms and toolbars is only displayed if the product is not registered

6.13.84

Fixed Bugs:

·         Runtime Error  ‘374’  Failed to activate control VB.Usercontrol  

6.13.83

Fixed Bugs:

·         ‘Trial Version’ is displayed in the caption of Options dialog box even after the product was registered

·         The procedure header/footer is repeated from the previous page

6.13.82

·         Format labels correctly

·         Releases VSPRINT7.ocx and VSPDF.OCX  that were left out from the release by mistake 

6.13.81

·         Ensure that the Addin works when Office 2003 is installed

6.13.79

·         Clear the bug that cause the text colors not to be set in options

6.13.77

·         Option 'Never' for 'Reset Line Numbers' now does not reset the line number until the print, preview or export request is restarted

 

6.13.76

·         Treat 'ByRef' as a keyword

·         Improve diagnostics for the following errors:

    

Error Number  : 381

Description   : Invalid property array index

Application   : VBAcodePrint

Version       : 6.13.75

Component     : frmOptions

Member        : cboProcedureSeparator_Click

Stage         : Entry Point

 

Error Number  : 406

Description   : Non-modal forms cannot be displayed in the host application from ActiveX DLL, ActiveX Control or Property Page

Application   : VBAcodePrint

Version       : 6.13.75

Component     : frmPreview

Member        : PrintSourceCode

Stage         : Reset Indenting Object

6.13.75

·         Fix the bug that caused connecting lines to diagonally drawn

6.13.74

·         Remove 'Register' button from the toolbar to save space             

6.13.73

·         Continuation Comment lines, as shown below, are not formatted correctly

'------------------------------------------------

' Calculate Order Total _

   called from _

   dgINT.AfterEdit

 '------------------------------------------------

6.13.72

·         Indenting options do not allow tab size to be set

·         Connecting lines drawing is improved

·         Connectines that continue to next column/page are numbered

6.13.71

·         Output & as keyword

·         Output Strings correctly if the string contains [ character

6.13.70

·         That caused an error when user clicked on the bitmap alignment buttons on the Bitmaps tab of the Options dialog box

·         That caused some options not to be remembered between sessions    

·         All the options now can be reset to their defaults

·         The options dialog box is now re-sizable to allow large preview of the options

6.13.65

·         The options dialog box has been re-designed for resizing to enable a larger preview   

6.13.63

·         Implements an option to print line numbers embedded in the source code.

6.13.62

·         Fix the bug: Custom selection setting now can be saved and restored

·         Integrates the latest version the print/preview OCX

6.13.61

·         The Table of Contents always misses the first procedure in a component

6.13.60

·         Fix the following errors:

 

Error Number  : 5

Description   : Invalid procedure call or argument

Application   : VBAcodePrint

Version       : 6.13.42

Component     : docCustomSelection

Member        : trwCustomSelection_NodeClick

Stage         : Entry Point

 

Error Number  : 5

Description   : Invalid procedure call or argument

Application   : VBcodePrint

Version       : 6.13.45

Component     : frmPreview

Member        : PrintTOC

Stage         : Split the tag

 

·         Make sure that labels are aligned correctly if they have comments on the same line

·         Correct a bug that messed up indentation after a label

·         Output labels correctly if there is source code on the same line as the label

6.13.0

·         Registration security improved.

·         Monochrome printing is handled correctly

·         Option setting usability has been improved

·         Change default fonts dialog box can be cancelled

·         Unregistered version only supports export to PDF format

·         Export to RTF now output the page header in the header

·         Clear the following error. This occurred when trying to determine the project version for the header/footer for a project that is not saved yet.

·         Fix the following error:

 

Error Number  : 76

Description   : Path not found

Application   : VBAcodePrint

Version       : 6.12.0

Component     : basMain

Member        : ProjectVersion

Stage         : Entry Point

 

·         Print TOC correctly if the number pages output are > 1000

·         Clear bug: Register dialog box always shows 'Trial version' in the caption.

·         Clear bug: Printing using the print icon on the toolbar generates ' Direct printing is only .."