You are here: AxTools > CodeSMART 2007 for VB6 > Documentation > Configuring CodeSMART 2007 for VB6 > CodeSMART 2007 for VB6 Control Panel
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

CodeSMART 2007 for VB6 Control Panel

The options that affect the product functionality and behavior can be set by using the CodeSMART Control Panel. In order to display this dialog box you should click on the synonymous entry in the CodeSMART main menu.

Note: The image below has an image map associated with it, so you can quickly jump to a certain section by just clicking on an image area (notice the tooltip while hovering the mouse over the pictured options tree).

Control Panel Click to jump to the General section Click to jump to the Databases section Click to jump to the Interface section Click to jump to the International section Click to jump to the Code Analyzer section Click to jump to the Code View Assistant section Click to jump to the Coding Tools section Click to jump to the Commenting Tools section Click to jump to the Designer Analyzer section Click to jump to the Library Explorer section Click to jump to the Error Handling section Click to jump to the Project Explorer section Click to jump to the Property Tips section Click to jump to the Source Code Control section Click to jump to the Spelling Checker section Click to jump to the Spies section Click to jump to the Task List section Click to jump to the About section
The CodeSMART Control Panel dialog box exposes the options by categories arranged in a tree-like hierarchical displayed in the left part of the window. In order to set the options for a category you must select it and then set the options in the right part of the window.

General section
This section gives you access to settings that affect the general behavior:
  1. Identification
    Control Panel - Identification
    • Developer name: Specify the name used to replace the {UserName} standard parameter. You can use the currently logged in user name or a custom name. This name is also used to identify the user in the development team used by the Task list.
    • Computer name: Specify the name used to replace the {ComputerName} standard parameter. You can use the default local computer name or a custom name.
  2. Startup
    Control Panel - Startup
    • Detect broken references at startup: use this option if you want CodeSMART to detect if your project is linked to any broken references and offer you a chance to fix them at startup.
    • Check the versions of all files used by CodeSMART: by default at its startup CodeSMART checks the required versions of all the shared files it uses and informs the user upon any possible malfunction cause. Uncheck this option if you don't want CodeSMART to perform the test (may speed up startup time).
    • Maximize windows on startup: check this option if you want to have code and designer windows maximized by default when Visual Basic is started. This option is useful when you have enabled the CodeSMART Tabbed Documents support.
  3. Logging
    Control Panel - Logging
    Here you can specify how CodeSMART should act when an error occurs.
    • Report all errors immediately: when checked, CodeSMART will display an informative message box when an error occurs.
    • Log error and other events to ErrorLog.txt: when checked, CodeSMART uses the ErrorLog.txt file to write information about errors and other special events. Please note that the ErrorLog.txt file will be created in the "My Documents\My CodeSMART Files\VB6 Edition\" folder.
    • Limit log file size to maximum (in KB): set the maximum log file size in KB. The default value is 512 KB.

Back To Top

Databases section
  1. Location
    Control Panel - Databases Location
    The following options can be set in this section:
    • Location of the Personal.mdb file: the Personal.mdb database contains data accessible to the local user, like: the auto-text items, personal code snippets and designer templates, copy-and-paste buffers etc.
    • Location of the Team.mdb file: the Team.mdb database contains settings and data that can be shared in a team, like: error handling schemes, comment templates, tasks, code formatter settings. When working in a team, sharing the same Team.mdb database is the key to using common standards, sharing a set of code and designer templates and successfully using assigned tasks.
    • Do not use a PrivDbEngine object: leave this option unchecked (recommended) if you want CodeSMART to use a private DAO DbEngine object.
  2. Offline
    Control Panel - Databases Offline
    The following options can be set in this section:
    • Offline folder: represents the destination folder were backup copies of the Personal.mdb and Team.mdb files are maintained. When you cannot access the default CodeSMART databases then the backup copies are used instead. This folder is by default a subfolder at the CodeSMART installation location on the local computer.
    • Automatically update every ... hour(s): check this option to keep your offline CodeSMART databases up to date. After the specified interval elapses CodeSMART will try to back up your current Personal and Team databases to the offline folder. If you want to confirm the operation every time it is about to occur then you should check the Ask for confirmation before every autoupdate option.

Back To Top

Interface section
This section includes global settings affecting CodeSMART's visual interface.
  1. Dialog Positions
    Control Panel - Dialog Positions
    • Here you can choose the behavior CodeSMART exhibits when opening dialog boxes and other windows. While on single monitor systems you should choose to always open windows at the same position they were at last time when closed, on multiple monitor systems such a behavior may lead to confusions regarding a window's VB instance owner, and thus a smart "center screen" approach should be more appropriate. You can choose the desired behavior by using this pane.
  2. Tabbed Documents
    Control Panel - Tabbed Documents
    • Enable tabbed documents support: check this option to use a tab representation for every document window opened inside the environment. Please note that Visual Basic must be in MDI mode for this feature to make sense.
  3. Mouse Wheel
    Control Panel - Mouse Wheel
    • Use this check box to enable/disable mouse wheel support provided by CodeSMART in Visual Basic code editor windows.
  4. Toolbars
    Control Panel - Toolbars
    • Uncheck the toolbar buttons (or toolbars) you want to hide. This tree lists the four main toolbars plus the Code Window popup menu entries.
    • Check the corresponding option in order to have a separate code window popup menu for all the commands added by CodeSMART.
    • You can also lock the CodeSMART toolbar positions in order to avoid accidental position changes.

Back To Top

International section
This section include settings affecting the (local) character set used by CodeSMART in certain parts of its user interface.
  1. Dialog Fonts
    Control Panel - Dialog Fonts
    • Please choose the character set (charset) used by CodeSMART to display information that is susceptible of being represented in non-English character sets (for example, text in the Find and Replace dialog box).

Back To Top

Code Analyzer section
In this section you can access Code Analyzer settings.
  1. Settings
    Control Panel - Code Analyzer Settings
    Click the corresponding link control in order to open a dialog box where Code Analyzer options can be set.

Back To Top

Code View Assistant section
In this section you can access Code View Assistant settings.
  1. Availability
    Control Panel - Code View Assistant Availability
    • Enable the Code View Assistant: check this option to turn the Code View Assistant on.
  2. Features
    Control Panel - Code View Assistant Features
    Use the settings on this page in order to enable/disable certain Code View Assistant features and set particular options.
    • Show end-of-line statement details: check this to have end-of-line descriptive information displayed for main control statements (for example an 'End If' will have the corresponding 'If' condition displayed). You may also specify a minimum line count to be checked against statement blocks before displaying end-of-line details.
    • Show hotspot markers: check this to have hotspots displayed for main control statements and procedure declarations. Clicking on a hotspot moves the cursor to its opening/closing correspondent.
    • Show branch lines: check this to have branch lines displayed for control statement branches, thus emphasizing logical blocks and code flow. Specify also if branch lines should be displayed only when clicking on the corresponding hotspots.
    • Adjust color transparency level for end-of-line details, hotspots and branch lines by using the dedicated control.
    • Highlight the active code line: check this option in order for the current code editor line to be highlighted.
    • Adjust the gray transparency level for active code line highlighting by using the dedicated control.
    • Show right hand indicator bar: check this to have a vertical line displayed in the code editor window at a specific column. Can be used to visualize a virtual maximum line length.
  3. Fine Tuning
    Control Panel - Code View Assistant Fine Tuning
    Here you can adjust certain fine settings related to the Code View Assistant engine.
    • Do not process methods larger than ... lines: if you have a slow machine, check this and then enter the procedure line count limit at which the Code View Assistant will get disabled for that procedure.
    • Specify mouse and keyboard events at which the code view assistant should refresh its state.

Back To Top

Coding Tools section
  1. AutoText
    Control Panel - AutoText
    • Enable the CodeSMART AutoText: check this option to turn the AutoText feature on.
    • Enable SPACE as trigger key: check this option in order to activate Space as trigger key for the AutoText. You may also specify if this should be used in combination with Ctrl or Shift keys.
    • Enable ENTER as trigger key: check this option in order to activate Enter as trigger key for AutoText. You may also specify if this should be used in combination with Ctrl or Shift keys.
    • Enable the AutoText in comments: check this option to allow AutoText insertion while writing comments.
  2. SmartComplete
    Control Panel - SmartComplete
    Use this page to specify certain settings that affect the SmartComplete suggestion list as well as globally enable or disable this feature.
    • Enable the SmartComplete list: check this option in order to activate the SmartComplete feature.
    • Show VB control statements: use this option to specify whether or not CodeSMART should show control statement items in the SmartComplete list.
    • Show other VB keywords and statements: use this option to specify whether or not should CodeSMART show regular statement items in the SmartComplete list.
    • Show user defined items: use this option to specify whether or not should CodeSMART show user defined statement items in the SmartComplete list.
    • Maximum number of list elements: specify the maximum number of list items that will be displayed in the SmartComplete window.
    • Maximum column length (in chars): specify the maximum number of characters used to display a list item in the SmartComplete window.
  3. Standard Parameters
    Control Panel - Standard Parameters
    Here you can provide custom formats for the following CodeSMART standard parameters:
    • {Date}
    • {Time}

    You can always revert to the default parameter format by clicking the corresponding button.

Back To Top

Commenting Tools section
This section include settings that affect the CodeSMART commenting tools.
  1. Auto Insert
    Control Panel - Auto Insert
    • Enable auto-insert: when checked, CodeSMART tries to detect when a new routine is added and automatically insert a descriptive header for that routine.
    • Before/After the definition line: use this set of option buttons to specify the position where the descriptive header should be inserted.
  2. Templates
    Control Panel - Commenting Templates
    • Uncheck the Use the '<CSCC> and '<CSCM> markup comments if you don't want CodeSMART to automatically insert these special markers when commenting code.
    • Click the corresponding link control in order to open the CodeSMART Comment Templates Manager.

Back To Top

Designer Analyzer section
  1. Settings
    Control Panel - Designer Analyzer Settings
    Click the corresponding link control in order to review the Designer Analyzer options.

Back To Top

Library Explorer section
This section contains settings that affect the CodeSMART Library Explorer subsystem
  1. Settings
    Control Panel - Library Explorer Settings
    These options affect the way the Library Explorer is displayed. You must restart CodeSMART for the changes to become active.
    • Dockable toolwindow: when this option is selected the Library Explorer is displayed as a standard toolwindow which can be docked like any other Visual Basic toolwindow.
    • Docked with the CodeSMART Project Explorer: if this option is selected the Library Explorer will appear as a tab inside the CodeSMART Project Explorer window. Use this option to save environment space.

Back To Top

Error Handling section
This section contains settings that affect the CodeSMART Error Handling Engine.
  1. Line Numbers
    Control Panel - Line Numbers
    • Specify thea base number and a step to be used when inserting line numbers in members whose (explicit or inherited) error handing scheme do not specify line numbering options.
    • Skip line numbering for inoffensive statements: check this option if you want to skip code lines that do not generate errors.
    • Insert line numbers within the error handler code: use this option to insert line numbers in the existing CodeSMART error handling code header and footer.
    • Display the Insert/Remove line numbers menu: check this option in order to have two supplementary menu entries for the aforementioned features mounted in the CodeSMART main menu.
  2. Schemes
    Control Panel - Error Handling Schemes
    • Click the corresponding link control in order to display the CodeSMART Error Handling Schemes Manager.
    • Check the Skip empty members when inserting EH code option if you want to avoid error handlers from being inserted into empty procedures.
    • Check the Use pure line numbers option if you do not want CodeSMART to insert a supplementary colon (":") character after each line number.
    • Skip members that already have error handling inserted: with this option checked, CodeSMART will try to determine members that already have error handling inserted (either CodeSMART specific or not) and skip them from updating.

Back To Top

Project Explorer section
This section include settings regarding the CodeSMART Enhanced Project Explorer.
  1. Behavior
    Control Panel - Project Explorer Behavior
    • Assume that the *_* pattern identifies an event procedure: when this is checked, CodeSMART will use the underscore character embedded in a procedure name as a sign that the routine is an event procedure. Checking this will make project browsing much faster, but a procedure named This_Procedure will be always considered an event procedure.
    • Save event triggers component refresh: when checked, any save operation on a component will trigger a refresh on that component's CodeSMART Project Explorer subtree. Normally CodeSMART will detect newly-added procedures and will add them to the tree, but there may be situations when the tree comes out of sync. When this happens you can refresh the tree manually, but instructing CodeSMART to refresh at every save will reduce to a minimum the chances of de-synchronization.
    • Use automatic refresh when adding/renaming routines: the automatic refresh at add/rename can be turned on or off. The reason why this checkbox is present is that automatic refresh at add/rename can make CodeSMART slow on some machines.
    • Double-clicking a node always opens the component's code window: check this option if you want to open the code window instead of the designer window for a designer component.
    • Use bold text for nodes corresponding to public classes: public class nodes will be displayed using bold font.
    • Use bold text for nodes corresponding to public members: public member nodes will be displayed using bold font.
    • How to open resource (RES) files: use this option to set how a resource file will be opened when double clicked in the Project Explorer. The VB6 Resource Editor add-in will be used only if it is loaded (use the Visual Basic built-in Addin Manager dialog box to configure this).
  2. Interface
    Control Panel - Project Explorer Interface
    • Specify whether the Project Explorer toolbar should be visible or not.
    • You may hide the plus/minus symbols of project nodes.
    • Use the list to selectively show/hide Project Explorer toolbar buttons.
  3. Sorting
    Control Panel - Project Explorer Sorting
    • Please specify whether you want the Project Explorer tree nodes to be sorted alphabetically or in a custom manner.
    • Custom sorting can be done by using two general criteria: member type and member scope. For each chosen criteria you may configure a list of sub-elements and use the corresponding buttons in order to refine the order even more.
  4. Filter
    Control Panel - Project Explorer Filter
    • Use the lists to filter Project Explorer nodes, considering as main criteria the member type and member scope, as well as other advanced options.
    • Each un-checked list element will be considered as filtered out from the tree.
  5. Panes
    Control Panel - Project Explorer Panes
    • Specify the desired behavior when double-clicking Navigation Helper Pane items, that is to either open the corresponding code or designer window, or to select the corresponding item in the Project Explorer tree.
    • Enter a value for the maximum number of visible elements in the History pane.
    • Please specify the events that should trigger history item additions: when double-clicking items in the Project Explore tree and in the Immediate window panes, when editing or even while browsing code.
    • Besides component members, you may instruct CodeSMART to add component items into the History pane.
    • In case the {ProjectName}.csi file is read-only, History and Workbench items cannot be saved. A warning message is by default displayed in such a case, but you can disable this behavior.

Back To Top

Property Tips section
This section include settings that affect the CodeSMART Property Tips window.
  1. Status
    Control Panel - Property Tips Status
    • Enable Property Tips: check this option in order to activate the Property Tips window used to display control properties in designer mode.
  2. Properties
    Control Panel - Property Tips - Properties
    Click the Add command button in order to add the name of a property you want to be displayed by the Property Tips window, or click the Remove button in order to permanently delete a property from the list. Please note that you cannot remove the default properties.
  3. Delay
    Control Panel - Property Tips Delay
    • Property Tips window delay: set the time interval before the Property Tips window is displayed. The value is expressed in milliseconds and must be in the 100-500 range. The default value is 250 ms.

Back To Top

Source Code Control section
This section include settings related to the CodeSMART - Source Code Control integration.
  1. Integration
    Control Panel - Source Code Control Integration
    • Use automatic check-out: if checked, CodeSMART intercepts the Can't edit module message box when trying to edit a protected component and shows instead a dialog allowing you to check out the component or even the entire containing project.
    • Additionally, you may instruct CodeSMART to perform the automatic check-out operation only on read-only files.
    • Show "... Entire Project" commands only on project nodes context menu: by default CodeSMART shows this command on all menus. This can be an inconvenience for users with low screen resolution. Mark this checkbox in order to fix this (eventual) inconvenience.
    • Put all SourceSafe related command-bars on a separate popup: uncheck this option if you want CodeSMART to display the SourceSafe related commands directly in the Project Explorer shortcut menu. You must restart CodeSMART for this setting to take effect.
  2. Application
    Control Panel - Source Code Control Application
    • Choose the source code control provider you are using from the list.
    • In case you use a provider that it is not in the list, please use the %SccApp% parameter to specify a custom name for your source code control application. This must be the name that appears in the 'Check Out' and 'Check In' dialogs.
  3. Localization
    Control Panel - Source Code Control Localization
    • Visual Basic environment language: select or specify your Visual Basic environment language. If no predefined setting applies, please provide the localized captions for the source code control dialogs. The %SccApp% parameter will be replaced with the name of the code control application specified in the previous pane.
  4. Comments
    Control Panel - Source Code Control Comments
    • Prompt for comments in SCC actions: CodeSMART allows you to prompt for comments/skip comments altogether. Be careful when instructing CodeSMART to bypass SCC commenting, since this can lead to serious problems in code maintenance.
    • Prompt for comments only in check-in actions: check this option if you want to comment only file check in operations.
    • Do not accept SCC actions without comments: use this option to force commenting in SCC operations.

Back To Top

Spelling Checker section
This section include settings that affect the CodeSMART Spelling Checker tool.
  1. Language
    Control Panel - Spelling Checker Language
    • Language used by the CodeSMART Spelling Checker: selects the dictionary used by the spelling checker. The CodeSMART setup kit only contains the English (U.S.) language dictionary. If you want to check spelling in a different language, then you should download the CodeSMART Extended Dictionaries setup kit from http://www.axtools.com/CsExtDict.exe
  2. Paths
    Control Panel - Spelling Checker Paths
    • Location of the main language dictionary file(s): contains the location of the main dictionary file used by the spelling checker. By default this path is set to the CodeSMART main directory, where the SpellUS.lex file initially resides.
    • Location of the custom dictionary file: contains the location of the additional (custom) dictionary file used by the spelling checker. By default this path is set to the CodeSMART main directory.
  3. Settings
    Control Panel - Spelling Checker Settings
    • Open the suggestions dialog box on double-click: check these options if you want the CodeSMART spelling checker engine to open a dialog box with suggestions when an entry is double-clicked in the result list.

Back To Top

Spies section
This section include settings affecting the CodeSMART spies.
  1. AutoSave
    Control Panel - AutoSave
    • Enable the AutoSave feature: Check this option if you want CodeSMART to automatically launch full project save operations at specific time intervals. The interval is expressed in milliseconds.
    • Additionally, you can choose to be prompted for confirmation before an AutoSave operation.
  2. AutoBackup
    Control Panel - AutoBackup
    • Force the Visual Basic IDE to create backup copies when saving files: check this option if you want a backup copy (*.bak) to be created every time a file save operation occurs. If you don't specify a custom destination then the copies will be created in the same folder where the original files reside.
  3. Control Renaming
    Control Panel - Control Renaming
    • Spy control rename operations: when this option is checked CodeSMART tries to maintain code consistency when a control is renamed by trying to rename all the occurrences of that control's name in code, from event procedures to statements and fully qualified properties and methods. Additionally, you can choose to be prompted for confirmation before the replace operation.
    • Ignore occurrences inside strings: check this option to avoid replacements on string-type matches.
    • Ignore occurrences inside comments: check this option to avoid replacements if a match is found inside a comment block.
  4. New Control Spy
    Control Panel - New Control Spy
    • Check the Ask for Name and Caption property values option to make sure that you will be asked to review the above two control properties immediately after the control creation.
    • Additionally, you may enforce that a default set of properties is applied for each newly created control or designer component. Click the subsequent link control in order to review the UI standard properties.
  5. On Project Run
    Control Panel - On Project Run
    • Clear the Immediate window on every project run: check this option if you want CodeSMART to clear the contents of the Immediate window whenever the current project is run. This option is available only in Visual Basic 6.0.
    • Enable keyboard shortcut to stop program execution: if this option is checked then you can stop the program execution (run mode) by pressing the 'Ctrl-Shift-T' keyboard shortcut.

Back To Top

Task List section
This section include settings uses by the CodeSMART Task List subsystem.
  1. User Name
    Control Panel - Task List
    When working with tasks every user is identified by a unique user name. The default value is the currently logged in user name but it can be changed in the Identification category of the General section.
  2. Password
    Control Panel - Task List
    • Working with tasks in a multi user environment involves certain operations that may be performed only by users with administrative rights. Access to these operations must be protected with a password that is stored (and specific to) the Team.mdb database. Click the Change Password link in order to set the access password.

      IMPORTANT NOTE: Initially, the password is empty (the empty string).
    • Enable administrator auto-login from this machine: when the current user has administrative rights he/she can perform operations that are not available to regular users. The access to this operations is granted using the password set above. Check this option if you have administrative rights and do not want to be asked for the password every time you want to perform a protected operation.
  3. Rights
    Control Panel - Task List
    This entry can be used only by users who have administrative rights in order to grant other users rights regarding the task list. These rights are global and apply to all the members who share the same Team.mdb file.

Back To Top

About section
  1. File Versions

    Lists all the files used by CodeSMART with their current build version.
  2. License Details
    Includes license information like the owner of the license and the exact license type the owner has purchased.

Back To Top

Copyright © 2008 AxTools - CodeSMART 2007 for VB6 - Configuring CodeSMART 2007 for VB6