CodeSMART 2007 for VB6

 

 

FixPack 8

December 12, 2007

 

 

BUG FIXES

 

1.   General: A commandbars error was sometimes reported at CodeSMART initialization. Fixed.

2.   AutoText: A user interface problem was identified in the 'AutoText Manager' subsystem when running under Visual Basic 5. Fixed

3.   AutoText, SmartComplete: Repaint issues were identified on Windows Vista machines in the 'AutoText Manager' and 'SmartComplete Manager' subsystems. Fixed.

4.   Code Analyzer: Method parameters whose names were matching VB keywords (like: 'Dimension', 'Property', 'Type', etc) were incorrectly reported as being 'dead code'. Fixed.

5.   Code Formatter: Several problems were identified when formatting code lines that contained the colon (:) character. Fixed.

6.   Find and Replace: If results in comments were configured to be skipped, CodeSMART still reported such matches if these were found on subsequent lines of multi-line block comments. Fixed.

7.   Project Explorer: A user interface problem was identified in the 'Project Explorer Options' area. Fixed.

8.   Project Explorer: Tree refresh after Source safe operations was reported to be extremely slow on large project groups. Fixed.

9.   Project Explorer: Switching between the physical and the logical view was reported to be extremely slow on large project groups. Fixed.

10. Project Explorer: In certain situations multiple nodes were accidentally selected in the Project Explorer tree. Fixed.

11. Project Explorer: Tree repainting issues were identified when choosing to expand all project nodes. Fixed.

12. Project Explorer: The lower pane was revised in order to correct several user interface problems. Fixed.

13. SmartComplete: An error was identified when trying to insert a SmartComplete item and the cursor was positioned at the beginning of an empty line. Fixed.

 

 

NEW FEATURES

 

1.   Code Builders: It is now possible to add a new property without having to specify a corresponding variable.

 

 

 

 

 

FixPack7

September 19, 2007

 

 

BUG FIXES

 

1.   General: Several errors were reported when nonstandard Windows fonts were used. Fixed.

2.   General: Due to an algorithm flaw introduced in a previous fixpack, the mousewheel extension brought by CodeSMART was unusable in debug mode. Fixed.

3.   Code Analyzer: A database error was sometimes reported when performing successive code analysis operations on two open VB6 instances. Fixed.

4.   Code Builders: Trying to create a new collection class by using an existing user control component as a base class was reported to lead to an error message. Fixed.

5.   Code Builders: Several corrections were made to the grammar used by the 'SQL\Long String' feature.

6.   MDI Tabs: An error was reported when the CodeSMART MDI tabs collection got refreshed as a result of a specific bulk operation (i.e. open, close, rearrange windows). Fixed.

7.   Naming Standards, UI Standard Properties: Some reports indicated that error messages occurred when opening the Naming Standards Manager and UI Standard Property Manager dialogs. Fixed.

8.   Project Explorer: An error message was reported when using keyboard shortcuts to delete resource component nodes in the CodeSMART 'Project Explorer' tree. Fixed.

9.   Project Explorer: In certain situations, an error might occur when a selected item auto-refresh was triggered by an SCC operation. Fixed.

10. Project Explorer: Public member nodes visual emphasis was revised with benefits in speed and interface ergonomics.

11. Project Explorer: The component node scanning operation can now be cancelled by pressing the 'Ctrl+C' key combination.

12. Result Toolwindows: Trying to collapse the result list set by double-clicking category rows sometimes led to opening the corresponding 'New operation' dialog. Fixed.

13. Tab Order: The 'Tab Order Designer' dialog was revised in order to correct some minor design and functionality issues.

14. UI Standard Properties: Several font size issues which happened on non-English systems were identified and corrected.

 

 

 

 

FixPack6

June 07, 2007

 

 

BUG FIXES

 

1.   AutoText: Adding a custom parameter to an existing item and then trying to exit the AutoText Manager dialog was reported to led to receiving an error message. Fixed.

2.   Code Analyzer: Variables used only in 'Printer.Print' statements were incorrectly reported as 'unused'. Fixed.

3.   Code View Assistant: An 'Automation Error' message was sometimes displayed when trying to exit Visual Basic and the CodeSMART 'Code View Assistant' subsystem did not finish processing the active code window content. Fixed.

4.   Code View Assistant, Code Flow: The grammars used by CodeSMART for code parsing were revised and completed (for instance, support for complex database field access constructs was added, as well as support for non-English characters).

5.   CSCmdLine: Running the CodeSMART 'CSCmdLine' tool led to receiving errors if CodeSMART was set to load before the Visual Basic project open dialog (if applicable). Fixed.

6.   Designer Analyzer: Visual Basic was reported to lockup when analyzing designers containing certain third-party ActiveX controls. Fixed.

7.   Find References: Searching for a module's method references was reported to lead to an incomplete result list. Fixed.

8.   Find References: Trying to search for component references by using the Project Explorer context menu was reported to be ineffective, if this operation was preceded by a method or variable reference search. Fixed.

9.   Full Screen: An error was reported sometimes when exiting the Full Screen mode. Fixed.

10. Project Explorer: Performing source safe operations on projects containing a large number of components was reported to be extremely slow. Fixed.

11. Project Explorer: Due to previous fixes in the Project Explorer window opening functionality, toggling the window visibility by using the 'Ctrl+Q' keyboard shortcut was accidentally removed. Fixed.

12. Task List: Editing the current Task List permissions could have led to receiving database errors when saving changes. Fixed.

13. UI Standard Properties: Adding incorrect values for color properties in the UI Standard Properties Manager was reported to lead to an error and to not being able to configure that property anymore. Fixed.

 

 

 

 

FixPack5

January 25, 2007

 

 

BUG FIXES

 

1.   General: In most cases, a project group that was under source code control could not be run because CodeSMART caused VB6 to pop a non-passable 'Can't edit module' error. Fixed.

2.   General: The CodeSMART Error Reporting dialog functionality and design were revised in order to correct certain information gathering issues and to bring more accuracy to the error reporting system.

3.   General: An error was reported in rare circumstances when pressing the Ctrl+Shift+T key combination in order to abort a debug session. Fixed.

4.   General: Starting several Visual Basic sessions at a time was sometimes followed by a 'Cannot reset the system menu' error. Fixed.

5.   Code Flow, Code View Assistant: The grammar was corrected in order to accept several construct types, like expressions in which accessing recordset fields is made by using the '!' character.

6.   Code Analyzer: Trying to enable the 'Report occurrences of the For...Next variable' option was reported to be ineffective. Fixed.

7.   Tab Order: An error was reported sometimes when setting the tab order on designers which contained control arrays. Fixed.

 

 

 

 

FixPack4

December 06, 2006

 

 

BUG FIXES

 

1.   Code Flow, Code View Assistant: The grammar was corrected and extended in order to accept several additional construct types, like using 'single' variables together with the '!' type character, or using single-line loop constructs. Fixed.

2.   Code Formatter: Formatting constant declarations initialized with complex constructs was reported sometimes to remove one of the '+' operator connector from the initialization string. Fixed.

3.   Code Formatter: Trying to wrap method parameters by using the 'Code Formatter' tool was ineffective if the method had no explicit modifier specified. Fixed.

4.   Code View Assistant: Successive 'Out of memory' errors were reported when trying to inspect and process extremely large methods (over 64k in size). Fixed.

5.   Find and Replace: Searching for multiline '#If' constructs was sometimes reported to lead to an incomplete result list. Fixed.

6.   Find and Replace: Trying to replace a multiline text with an empty string led to an error. Fixed.

7.   Iterative Code: All new iterative code snippets are now verified for logical lines spread on more than 24 physical lines, which at insertion time yielded 'Too many line continuations' error messages.

8.   Library Explorer: An error was reported in some situations, when opening the Library Explorer dialog in a distinct tool window. Fixed.

9.   MDI Tabs: An error was reported sometimes when switching focus between the Visual Basic IDE window and another application, when working in a Remote Desktop Connection session. Fixed.

10. Project Explorer: In some rare situations, expanding a component node led to receiving an error message and subsequently a single child node was mounted with the caption 'Fake'. Fixed.

11. Project Explorer: Several errors were identified and corrected, related to working on multi-monitor modes. Fixed.

12. Task List: Having only designer windows open in the MDI tabs area and trying to add a new personal task, was sometimes followed by receiving an error message. Fixed.

13. Smart Copy-and-Paste: A Visual Basic crash occurred when trying to perform a smart copy operation on an empty module.

14. Minor fixes and improvements in various subsystems.

 

 

 

NEW FEATURES

 

1.   Code Formatter: Formatting capabilities were added for event definitions.

 

 

 

FixPack3

September 19, 2006

 

 

BUG FIXES

 

1.   General: Several dialogs did not correctly free GDI objects, which might have led to 'Out of memory' error messages and eventually to a VB crash. Fixed.

2.   Commenting Tools: An error was reported in certain situations when using the 'Replaced By' commenting feature, if the comment template contained the '{C}' CodeSMART standard parameter. Fixed.

3.   Control Renaming Spy: After changing the name of a newly added control by using the Change Name and Text dialog (configured to show immediately on such operation) CodeSMART incorrectly started a Control Renaming operation. Fixed.

4.   Extended Find and Replace: An error was reported when starting a debug session, indicating a history data processing problem in the Extended Find and Replace subsystem. Fixed.

5.   MDI Tabs: Changing the Windows default color scheme could have led to CodeSMART displaying cascading errors related to MDI tabs subsystem. Fixed.

6.   Project Explorer: In some conditions CodeSMART mounted a generic "Module1" node after performing a check-out module operation – this generally happened if the module's code window was not previously opened and the active window was a different component. Fixed.

7.   Project Explorer: Trying to check-out a class module by using the CodeSMART Project Explorer context menu was reported to lead to a check-out of the currently active form (if any) if the two components were belonging to different projects. Other source code control operation flaws were also identified and corrected.

8.   Project Explorer: An error was reported when CodeSMART tried to restore the Project Explorer node colors. Fixed.

9.   SmartComplete: The SmartComplete list was incorrectly displayed as a response to using the Delete key. Fixed.

10. UI Standard Properties: Some user control properties could not be configured by using the UI Standard Properties Manager due to various causes (for instance, when the control functionality was made visible by using public variables instead of public properties). Fixed.

11. Minor fixes and improvements in various subsystems.

 

 

FixPack2

July 26, 2006

 

 

BUG FIXES

 

1.   General: Inserting a designer template on a form caused for the Visual Basic commandbars to stop responding if the Control Renaming Spy window was set to pop up on control name changes. Fixed.

2.   General: Starting a debugging session sometimes caused for the Visual Basic IDE to become the active window and for the project main form to move behind it. Fixed.

3.   General: An error was reported when loading CodeSMART for the first time on a non-administrative Windows account. Fixed.

4.   General: Several errors were displayed when loading a project in the VB6 IDE and immediately trying to run it before CodeSMART had finished building internal project information objects. Fixed.

5.   General: When resuming from Windows hibernation an error was sometimes displayed indicating a failure in opening a CodeSMART dialog. Fixed.

6.   Code Analyzer, Spelling Checker: Code Analyzer and Spelling Checker operations were reported to lock up the VB6 IDE if lines commented with 'Rem' were encountered in the analyzed components. Fixed.

7.   Error Handling: An interface inconsistency in the Error Handling Scheme Manager could lead to saving and later restoring incorrect information about an error handling scheme line numbering settings. Fixed.

8.   Extended Find: An ‘Out of memory’ error occurred sometimes after performing a large number of consecutive searches by using the Extended Find feature. Fixed.

9.   Hotkey Manager: For components placed under SCC an error was sometimes reported when trying to open the Hotkey Manager dialog. Fixed.

10. Immediate window: In some situations an error was reported when double-clicking an item in one of the Immediate window result panes. Fixed.

11. Library Manager: CodeSMART incorrectly tried to apply standard UI properties sometimes when inserting controls from a designer template stored in the Library. Fixed.

12. MDI Tabs: Opening a designer component window was occasionally followed by an MDI Tabs error and eventually by a VB6 crash. Fixed.

13. Project Explorer: Trying to change the CodeSMART Project Explorer current view (i.e. 'Physical' to 'Logical' or vice versa) was sometimes reported to be ineffective. Fixed.

14. Project Explorer: An error occurred when resizing the Project Explorer window to very small dimensions. Fixed.

15. SmartComplete: Interface inconsistencies were reported regarding the color set used in the SmartComplete Manager. Fixed.

 

 

 

FixPack1

June 23, 2006

 

 

BUG FIXES

 

1.   General: Several errors occurred when loading CodeSMART on non-English Visual Basic editions. Fixed.

2.   General: An error indicating an incorrect navigation history operation was reported when unloading CodeSMART using the VB built-in ‘Add-in Manager’. Fixed.

3.   General: A Visual Basic crash was reported in certain cases on machines that were upgraded from the ‘CodeSMART 2005 for VB6’, especially when using multiple instances. Fixed.

4.   General: In some situations the visibility of the CodeSMART toolbars could not be configured properly. Fixed.

5.   Code Formatter: The code formatter settings are now saved when clicking the Close button also (in the corresponding dialog).

6.   Control Panel: The CodeSMART Control Panel failed to correctly free GDI objects when closed with ‘OK’, which eventually lead to ‘Out of memory’ errors and finally to a VB6 crash. Fixed.

7.   Control Panel: An error occurred when trying to configure the Library Explorer window status, in conjunction with an imported ‘CodeSMART 2005 for VB6’ version registry setting. Fixed.

8.   Designer Analyzer: An error was reported in some situations when analyzing designers for the ‘StartUpPosition’ property value. Fixed.

9.   Designer Analyzer: Several inconsistencies occurred on non-English systems due to number formatting issues. Other systems were also reviewed in conjunction with this problem (Library Explorer, UI Standard Properties Manager). Fixed.

10. Designer Explorer: Several refinements were made upon refreshing the designer controls tree with dramatic speed improvements.

11. Extended Find: Trying to search for large amounts of text led to several errors. Fixed.

12. Immediate window: A graphics problem occurred when some text was selected in the Immediate window ‘Immediate’ tab, i.e. when switching focus to another Immediate window tab and then setting focus to a code window, a white rectangle containing the selected text appeared over the results grid. Fixed.

13. Naming Standards Manager: When trying to add a new control prefix in the Exceptions pane an error occurred in certain cases. Fixed.

14. Project Explorer: An error was reported when refreshing a project – this was related to getting a component node image. Fixed.

15. Project Explorer: The Navigation Helper panes were not displayed in the CodeSMART Project Explorer on systems that had ‘CodeSMART 2005 for VB6’ previously installed and the Search and Workbench panes were hidden on that initial version. Fixed.

16. SmartComplete: Several key combinations (among them: Ctrl+V and Ctrl+X) were not properly considered as triggers for refreshing the SmartComplete list according to the inserted text. Fixed.

17. SmartComplete: New SmartComplete items were included in the database.

18. Task List: An error was reported when trying to insert a new assigned task. Fixed.

19. UI Standard Properties Manager: If trying to configure the last property of a certain control, all non-configured properties were added to the property list. Fixed.

20. Minor fixes and improvements in various subsystems.

 

 

 

Initial Release

June 14, 2006

 

 

NEW FEATURES

 

1.   General: All subsystems were highly revised with a high amount of functional and user interface changes.

2.   General: The current code selection is restored after performing an auto-checkout operation on the active module.

3.   General: CodeSMART offers now the possibility to insert and remove line numbers through a command line utility.

4.   General: Users can now lock the CodeSMART toolbar positions in the Visual Basic IDE.

5.   General: The CodeSMART toolbars are now automatically hidden when entering run mode.

6.   Code Analyzer: A method labeled with 'CSEH: Skip' can now be skipped from the error handler presence check.

7.   Code Formatter: New features were added, like ‘As’ declaration formatting, smart member definitions wrapping, new keyword list organization, the possibility to use patterns when defining keywords, extended VB keyword list, etc.

8.   Code View Assistant: A new parsing algorithm, increased speed and improved grammar.

9.   Designer Analyzer: The Designer Analyzer subsystem represents a set of tools which will help in detecting various user interface problems and inconsistencies.

10. Designer Explorer: Significant property (caption or text) preview was added to control tree nodes thus making user interface control identification easier.

11. Designer Explorer: A project tree containing designer components was added to the lower part of the control tree so that navigation and SCC operations can now be performed without having to switch to the CodeSMART Project Explorer.

12. Designer Explorer: The control tree nodes can now be sorted either alphabetically or according to the tab order.

13. Extended Find: The ability to perform multi-line searches was added.

14. Extended Find: This subsystem now also has a ‘replace’ feature.

15. Extended Find: A history combo was added to the result list so that it’s now extremely easy to re-run previous extended find operations.

16. Find References: Heavy refinements were performed upon this subsystem with dramatic improvements to its precision.

17. Find References: The tool was extended and now can search for control usage within the containing designer’s code.

18. Find References: A history combo was added to the result list so that it’s now extremely easy to re-run previous find references operations.

19. Find References: The tool was extended and now searches for user control references on designers.

20. Immediate window: Besides the already existing <Ctrl+U> shortcut which switches focus to the Immediate window active result list, new shortcuts are now available in order to allow for forward (Ctrl+Shift+U) and backward (Ctrl+Shift+U) navigation through the result list items.

21. Immediate window: New context menu entries were added in order to allow result groups expanding and collapsing.

22. Immediate window: A toolbar with the most frequently used commands was added.

23. Library Explorer: The Library Explorer replaces the old Code Snippets by extending it with Designer Templates.

24. MDI Tabs: The Immediate window pane titles are now shortened in the MDI-tabbed view.

25. New Control Properties: New feature which assists the user in adding new controls and designers, by enforcing property-value configured standards (according to the UI Standard Property Manager).

26. Project Explorer: The tree-part of the tool was redesigned and enhanced.

27. Project Explorer: A very powerful and highly configurable history system was implemented as a ‘History Pane’.

28. Project Explorer: A ‘Node Search Pane’ is also available, extremely useful for large tree structures.

29. Project Explorer: New node types are now mounted in the tree: enums, enum items, types and type items.

30. Project Explorer: Identification of event implementer methods was significantly improved.

31. UI Standard Property Manager: This new tool allows the developer to define property-value pairs for any control, which once configured can be applied at control creation time and/or checked against for conformity with the Designer Analyzer.

 

 

BUG FIXES

 

1.   General: Several CodeSMART subsystems failed to correctly free memory and GDI objects, which could eventually lead to a crash. Fixed.

2.   General: CodeSMART did not allow for AutoText and SmartComplete operations on files that were source-controlled but not read-only. Fixed.

3.   General: The CodeSMART extended spelling grammar setup program was reviewed in order to correct some installation issues.

4.   General: When running on a non-English Visual Basic edition, CodeSMART failed to correctly identify component code and designer windows. Fixed.

5.   General: An error was reported sometimes when applying configured hotkeys with the CodeSMART HotKey Designer. Fixed.

6.   General: Several source code control operation misbehaviors were reported. Fixed.

7.   General: The visibility of the ‘Enclose Selection in New Region’ code window context menu entry could not be configured in the CodeSMART Control Panel. Fixed.

8.   General: The window positions save-restore system encountered problems when windows were partially positioned outside of the visible screen area. Fixed.

9.   General: Window sizes were not screen DPI independent. Fixed.

10. AutoText: Saving an AutoText item caused for the item’s last empty line (if any) to be deleted. Fixed.

11. Change Name and Text: An 'Unexpected error' error was reported sometimes when adding third-party controls on the active designer. Fixed.

12. Code Formatter: A code line that contains a label followed by an inline comment was incorrectly formatted. Fixed.

13. Code Formatter: CodeSMART failed to properly format code lines that contained a single unindented numeric character (considered by Visual Basic as a numeric label). Fixed.

14. Code Formatter: Changing the keyword settings became effective only when re-opening the Code Formatter dialog. Fixed.

15. Code View Assistant: Several grammar issues were identified and corrected.

16. Code View Assistant: Clicking an “Else If” statement hotspot incorrectly moved the caret to the beginning of the procedure instead of moving it to the correspondent “If…Then” line. Fixed.

17. Control Renaming Spy: The control renaming window failed to display (and the subsequent operation to execute), when changing the control name in the Change Name and Text dialog by using the ‘Apply’ button. Fixed.

18. Extended Find: If having two or more Visual Basic instances open and performing Extended Find operations in each instance, a 'Subscript out of range' error was sometimes reported. Fixed.

19. Extended Find: On extremely large projects a search operation was sometimes reported to suddenly end with an 'Out of stack space' message. Fixed.

20. Extended Find: An error was reported sometimes when refreshing the last find results. Fixed.

21. Immediate Window: When switching between tabs, the vertical scroll bar of the result grid disappeared. Fixed.

22. Immediate Window: When switching between tabs, the pane status (selected items, the expand/collapse categories status, etc) was not properly restored. Fixed.

23. Immediate Window: When opening a new project, CodeSMART did not refresh (i.e. clear) the Immediate window result panes in certain situations. Fixed.

24. Immediate Window: Repeated focusing happened in the result list when switching Immediate window tabs. Fixed.

25. Line Numbering: In some situations, no line numbers were added to the top instructions of the Select Case’s first Case statement. Fixed.

26. Procedure Header Comments: An error was reported when trying to insert a procedure comment header, if the comment header template contained the {ParamList} standard parameter only. Fixed.

27. Property Tips: When moving the mouse cursor over a third-party control in order to display its properties in the Property Tips window, sometimes an error was reported. Fixed.

28. Review Strings: CodeSMART failed to properly report string occurrences in components that contained complex Print statements. Fixed.

29. Review Strings: The Review Strings code parser was reviewed in order to correctly process components that contained either multi-line commented lines, or currency variable types defined by using the corresponding at-sign ('@') type-declaration character. Fixed.

30. SmartComplete: Several numeric characters were not properly considered as triggers for refreshing the inner SmartComplete list according to the currently active word. Fixed.

31. Tab Order: Using the CodeSMART Tab Order feature on a designer that contained a large number of controls was reported sometimes to lead to an 'Overflow' error. Fixed.

32. Tab Order: When clicking on the ‘AutoOrder’ button, the controls in the preview list were rearranged accordingly but the new tab order was also automatically applied to the designer. Fixed.

33. Task List: An interface defect allowed for users to view tasks assigned to others even in the absence of proper administrative rights. Fixed.

34. Task List: An error occurred in certain conditions when performing a refresh operation. Fixed.