VBcodePrint - Release History
StarPrint Limited - www.starprinttools.com

Version 6.26.111 (19TH March 2010):

Fixed Bugs:

·         The install does not always work

Version 6.26.110 (24th February 2010):

Fixed Bugs:

·         The registration codes do not stick if used alongside VBAcodePrint

Version 6.26.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

Version 6.26.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.

Version 6.26.107 (30th May 2009):

Fixed Bugs: 

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

Version 6.26.106 (1st April 2009):

Enhancements:

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

 

Version 6.26.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.26.104 is used first time

·         Margins work correctly in all regional and language settings

 

Version 6.26.104 (1tst  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


 

Version 6.26.102 (29th May 2008):

Fixed Bugs:  VBcodePrint causes an exception if the ‘My Documents’ path is mapped to a server rather than a local disk.

 

Version 6.26.101 (19th March 2008):

Fixed Bugs:  Options for Page footers are not saved across addin reloads

 

Version 6.26.100 (9th Februrary, 2008):

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

 

Version 6.26.99 (July 21, 2007):

Microsoft Windows Vista support added.

 

Version 6.26.98 (May 27, 2007):

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

 

Version 6.26.97 (Jan 25,2007):

·         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 VBcodePrint 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 

 

Version 6.26.95 (Nov 20, 2006):

·         ‘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

 

Version 6.26.94 (May 30, 2006):

·         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 " & _

 

 

Version 6.26.93 (Mar 14, 2006):

  • 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   : VBcodePrint

Version       : 6.26.92

Component     : frmPreview

Member        : PrintCustomSelection

Stage         : Extract project name

 

 

Version 6.26.92:

  • 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 VBcodePrint 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}

 

Version 6.26.91:

  • Clear the bug that caused text enclosed in {} to be rendered as RTF text

Version 6.26.90:

·         Improved performance and error handling

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

 

Version 6.26.89:

·         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

 

Version 6.26.88:

·         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  

 

Version 6.26.87:

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

 

Version 6.26.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


Version 6.26.85
:

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

 

Version 6.26.84

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

Version 6.26.83

·         ‘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  

Version 6.26.82

·         Format labels correctly

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

Version 6.26.81

·         Ensure that the Addin works when Office 2003 is installed

Version 6.26.79

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

Version 6.26.77

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

 

Version 6.26.76

·         Treat 'ByRef' as a keyword

  • Improve diagnostics for the following errors:

    

Error Number  : 381

Description   : Invalid property array index

Application   : VBAcodePrint

Version       : 6.26.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.26.75

Component     : frmPreview

Member        : PrintSourceCode

Stage         : Reset Indenting Object


Version
6.26.75

·         Fix the bug that caused connecting lines to diagonally drawn

·         Avoid Program error when the VB Printer object does not support Fonts


Version
6.26.74

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


Version
6.26.73

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

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

' Calculate Order Total _

   called from _

   dgINT.AfterEdit

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

Version 6.26.72

·         Indenting options do not allow tab size to be set

·         Connecting lines drawing is improved

·         Connections that continue to next column/page are numbered

Version 6.26.71

·         Output & as keyword

·         Output Strings correctly if the string contains [ character

Version 6.26.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

Version 6.26.60

·         'Source Code Control' fails with access violation if VBcodePrint addin is selected to start with start-up option  

Version 6.26.56

·         The index does not print 'Referenced on Page'  

·         If a line starts with a numeric value then it is not printed

·         Labels are duplicated when printed

Version 6.26.55

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

Version 6.26.52

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

·         Integrates the latest version the print/preview OCX

Version 6.26.51

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

Version 6.26.50

  • Fix the following errors:

 

Error Number  : 5

Description   : Invalid procedure call or argument

Application   : VBAcodePrint

Version       : 6.26.42

Component     : docCustomSelection

Member        : trwCustomSelection_NodeClick

Stage         : Entry Point

 

Error Number  : 5

Description   : Invalid procedure call or argument

Application   : VBcodePrint

Version       : 6.26.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

 

Version 6.26.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 .."