VSNETcodePrint 2008– Version History
© 1990-2008 STARPRINT LIMITED

All Rights Reserved
www.starprint2000.com

Version

Description

 

 

10.0.1
15th August  2008

Enhancements:

ü       Supports 64-bit operating systems

All previous versions of VSNETcodePrint2008 used ComponentONE ActiveX control, vsView, for printing, previewing and exporting. This ActiveX does not work on computers that have hardware-enabled Data Execution protection (DEP) implemented. VSNETcodePrint2008 version 9.0 fails with the following exception:

 Unable to get the window handle for the 'AxVSPrinter' control. Windowless ActiveX controls are not supported.

Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.AxHost.InPlaceActivate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)


This version integrates the .NET version of the Print/preview control by ComponentONE that is compatible with DEP enabled computers and operating systems.

ü       The exported PDF files:

o        Can be secured using username and password

o        Restricted from printing, copying and editing

o        Can be annotated

o        Shows contents with Outlines

ü       Produces much improved exported output

ü       The Preview has an ‘Outline View’ that is very useful when navigating the output

ü       Performance has been improved by a factor of 5

ü       Page numbers in Table of Contents and indices reference actual pages in the document rather than the page numbers printed in the header/footer

ü       Exported can be compressed and password protected and document information can be added

ü       The text in the preview window can be searched

ü       Long lines are wrapped correctly

ü       The page numbers in the Table of Contents(TOC)  are represented by links to the appropriate page numbers

ü       The page numbers in the Indices that are produced for each ProjectItem and project are links to the corresponding page number

ü       The preview and exported PDF has outline view that allows you to navigate to pages quickly

ü       The default directory for exports is set to ‘My Documents’

ü       The Table of contents (TOC) is produced when previewing, printing or exporting a class, module, Namespace or an ProjectItem 

ü       The PDF file can be

 Fixed Bugs:

ü       A number of minor bugs have been fixed

ü       Output line numbers correctly when the option is set to reset line numbers at the ‘start of each procedure’

ü       Print/Preview/Export for ‘Current Procedure’, ‘Current Class’, ‘Current Module’ or ‘Current Namespace’ does not always works for C#

ü       Fixes the following program exceptions:

1.     Message: Error HRESULT E_FAIL has been returned from a call to a COM component.

Stage:

Stack: 

at EnvDTE.Window.get_Document()  

at VSNETcodePrint2008.clsCodeProcessor.OutputSourceCode( 

   enOutputType OutputType, Collection NodesToPrint)

    at VSNETcodePrint2008.Connect.HandleMenuClick(String MenuItem)

 

2.     Message: Value does not fall within the expected range.

    Stage:

    Stack:
    at EnvDTE.EditPoint.GetLines(Int32 Start,Int32 ExclusiveEnd)

    at VSNETcodePrint2008.clsCodeProcessor.OutputASPProjectItem(  
       ProjectItem ProjectItem)

3.     Message: Value does not fall within the expected range.
Stage:
Stack:
at EnvDTE.EditPoint.GetLines(Int32 Start, Int32 ExclusiveEnd)
at VSNETcodePrint2008.clsCodeProcessor.OutputASPProjectItem( 
   ProjectItem ProjectItem)

4.     Message: Unspecified error.
Stage: Check if StartPoint is Nothing for code element: Area_Funeral
Stack:    at EnvDTE.CodeElement.get_StartPoint()
at VSNETcodePrint2008.clsSolutionLoader.LoadDeclarations(TreeNode
ParentNode, CodeElement CodeElement)

5.     Message: Object reference not set to an instance of an object.
Stage: Processing a Project node
Stack:    at EnvDTE.Project.get_UniqueName()
at VSNETcodePrint2008.clsCodeProcessor.OutputTocNode(TreeView& trwSolution, TreeNode ndx, Boolean Checked, Int32& IndentLevel, Boolean FirstPass)

6.     Message: Exception from HRESULT: 0x800A017C CTL_E_INVALIDPROPERTYVALUE)
Stage:
Stack:
at VSPrinter7Lib.IVSPrinter.set_PaperSize(PaperSizeSettings pVal)
at AxVSPrinter7Lib.AxVSPrinter.set_PaperSize(PaperSizeSettings value)
at VSNETcodePrint2008.clsCodeProcessor.InitialisePrinter(AxVSPrinter Vp, Boolean OptionsPreview)

7.     Message: Non-negative number required.
Parameter name: totalWidth
Stage: Processing a ProjectItem node
Stack:   
at System.String.PadHelper(Int32 totalWidth, Char paddingChar, Boolean isRightPadded)
at VSNETcodePrint2008.clsCodeProcessor.OutputTocNode(TreeView& trwSolution, TreeNode ndx, Boolean Checked, Int32& IndentLevel, Boolean FirstPass)

8.     Message: Key cannot be null.
Parameter name: key
Stage:
Stack:   
at System.Collections.SortedList.IndexOfKey(Object key)
at System.Collections.SortedList.ContainsKey(Object key)
at VSNETcodePrint2008.clsCodeProcessor.OutputProjectItem( ProjectItem ProjectItem)

9.     Message: Object reference not set to an instance of an object.
Stage: Courier New
Stack:   
at VSPrinter7Lib.IVSPrinter.set_FontName(String pVal)
at AxVSPrinter7Lib.AxVSPrinter.set_FontName(String value)

10.  Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stage:
Stack:   
at VSPrinter7Lib.IVSPrinter.MovePages(Int32 First, Int32 Last, Boolean bToFront)
at AxVSPrinter7Lib.AxVSPrinter.MovePages(Int32 first, Int32 last, Boolean bToFront)

 

 

 

 

9.0.6
8th Dec  2007

Fixed Bugs:

ü       Occasionally the following exception occurs when Table of Contents is selected:

Message: Unspecified error

 Stage:

 Stack:    at EnvDTE.CodeElement.get_EndPoint()

       at VSNETcodePrint2008.clsCodeProcessor.OutputprojectItem(...)

ü       The Preview window disappears behind the VS2008 IDE window

ü       Table of Contents(TOC) header does not align correctly

ü       Exceptions occur if an attempt is made to print/preview items if a solution that contains a project that is not supported by the Addin (InstallShield project)

9.0.5
2nd Oct  2007

ü       Clear a bug that caused exceptions errors when exporting output

ü       Clear a bug that caused message “No filecodemodel” to be displayed if “Print/Preview/Export Current Module” option is selected

9.0.4
2nd Oct  2007

ü       User customizable options are maintained in a folder to which the logged-on user will always have write permission

9.0.1
28th Sep 2007

ü        ‘Check for  Updates’ on the About form did not work

9.0.0
23rd Sep 2007

ü       Initial release for Visual Studio .NET 2008