Home Products Download Order Resources Help Site map |
CodeSMART 2007 for VB6
Code faster and smarter. CodeSMART 2007 for VB6 is an add-in for Visual Basic 5.0 and 6.0. CodeSMART 2007 for VB6 works with Visual Basic 5.0 and 6.0. 1. INTEGRATION1.1. General Integration NotesCodeSMART 2007 for VB6 is exceptionally well integrated with the Visual Basic 5.0 and 6.0 IDEs. All the features it adds to VB are accessible through the main menu (1) and four toolbars (2) it registers with the environment. CodeSMART tools are hosted or display their results within dedicated tool windows (3, and 4) that can be moved or docked. Code view enhancements are displayed directly in the Visual Basic standard code editor window (5). There are many more proofs of the excellent integration CodeSMART has with VB, like the MDI tabs it adds to the IDE, the tabs added to the Immediate window (which is thus converted into a central tool reporting place while it does not loose its initial functionality) - these on the visual part, because there is a hidden part too, where eveything is magically inserted into VB's processing chain. 1.2. Tabbed Documents SupportCodeSMART can change VB's standard multiple document interface (MDI) into a tabbed one, just like in the Visual Studio .NET and other modern environments environment. Advantages include quick navigation between open files, being able to see at a glance what's currently open in the IDE, what was modified (an asterisk is added to dirty files tab caption) and so on. 2. EXPLORER TOOLS2.1. The Project ExplorerOne of CodeSMART's central pieces is undoubtedly the enhanced Project Explorer, a fully integrated and functional replacement of the standard Visual Basic Project Explorer. It's main design goal: locate code faster then ever. The CodeSMART Project Explorer supports two different view styles:
2.2. The Code Flow ExplorerThe VB6 code editor doesn't have tools to help navigate inside a
method's body. When you work with fairly straight and simple methods
browsing their code inside the code window is usually enough to grasp a general
idea about the code logic. But trying to understand and navigate
inside complex methods, with hundreds of code lines, nested conditional blocks
and loops, can be a very tedious job. 2.3. Designer ExplorerThis is a tool dedicated to ease user interfaces development inside the Visual Basic IDE. You will be able see all the controls hosted by the current designer, including containment information (Designer Controls area). Additionally, it displays and allows you to modify a set of the most used properties for the selected control or designer, without opening the properties window (Quick Properties area). 3. LOCATE CODE EASIER THAN EVER3.1. The WorkbenchWhen working on a specific problem, you usually focus only on a limited number of components and code elements. Restoring this context from one work session to another can represent a significant productivity enhancement - this is exactly what the Workbench can do for you. 3.2. Extended Find in FilesThe CodeSMART Find in Files adds powerful search capabilities to the Visual Basic environment and can be used to perform searches at different scopes (even on entire project groups) with various settings and obtain browsable result lists. The results list can be refreshed, cleared, printed, exported and the pane view can be customized through grouping, sorting and column reordering. 3.3. Find ReferencesThe Find References system is designed to provide cross referencing tools for Visual Basic. It can help you find:
4. VB CODE WINDOW ENHANCEMENTSThe CodeSMART Code View Assistant brings a rich set of visual enhancements to the standard Visual Basic code editor window. With the CodeSMART Code View Assistant enabled the Visual Basic code window dramatically changes with critical information provided on many control statements, branch lines to visually identify code nesting and assisted navigation between control statement opening and closing parts. 4.1. Branch LinesBranch Lines are drawn to emphasize control statement branches, that is lines drawn between the opening and closing parts of each control statement; very useful in visualizing code nesting. 4.2. End-of-Line DetailsEnd-of-Line Details represent descriptive comments at the end of certain control statement closing parts; can be used to identify a long branch. 4.3. Hotspot MarkersHotspots are visual markers for control statement and procedure main parts; can be used to navigate (with mouse clicks) between the opening and closing parts of the control statement/procedure, and to emphasize a certain branch line. 4.4. Current Line HighlightingCurrent Line Highlighting, as the name implies, assists the developer by highlighting the active code line with a grayed background. 4.5. Right Hand SeparatorRight Hand Separator Line represents a vertical separator line that can be drawn at a specified column on the right side of the code window, in order to visually help the developer in respecting a certain maximum line length standard. 5. CHECK AND REFINE YOUR CODE5.1. Code AnalyzerThe CodeSMART Code Analyzer is a valuable tool that can be used to
examine Visual Basic projects and search for dead or slow code, as
well as for potentially problematic code. It can be seen as a control
quality tool for Visual Basic programmers who want to refine the code they
write by making it smaller, faster and less prone to errors.
5.2. Spelling CheckerWhat can be more embarrassing than delivering an application and realizing you have spelling errors in its user interface? Let's face it, we all felt bad because of this at least once in our lives. We did it too - so we decided it's the time to have a Spelling Checker component in CodeSMART. Here it is what this tool can analyze for you:
5.3. Strings ReviewThe String Review tool does somehow share part of its goals with the spelling checker. Its purpose is to help you produce a correct user interface as for the text it displays, but while the spelling checker focuses on individual words correctness, the Strings Review was designed to ease the phase of logical word combination (phrasing) analysis and correction. 5.4. Code Commenting Conformity CheckerMany organizations employ code documentation standards - and it is recommended even for single developers to adhere to such one. Enforcing a code documentation standard can be done by requiring descriptive comments for modules and procedures, and also by requiring code commenting to be done inside routines as well. 6. WRITE CODE WITH EXCEPTIONAL EFFICIENCY6.1. AutoTextMany times during the process of writing code you have probably used
identical or similar code blocks, or written the same long
instruction sequence over and over. In such cases, an auto-text
feature, like the one found in many professional text editors, could save
you a lot of time, keeping you more concentrated on the program logic. Typing a
few letters or hitting a special keyboard combination is much more productive
than writing, from scratch, the same pieces of code, again and again. This is
why the CodeSMART AutoText system was built for!
6.2. SmartCompleteThe CodeSMART SmartComplete subsystem displays an Intellisense-like window with Visual Basic keywords, statements and global functions that are missing from the Visual Basic Intellisense list, plus custom (user-defined) items. Here are two examples on how SmartComplete works:
6.3. Code BuildersThe CodeSMART Code Builders represent a set of tools that allow you to quickly create property procedures that expose class modules internal data, sub or function procedures and even class collections modules. Also, a very useful feature is the one that switches an assignment operator's parts - especially when writing database applications and having to initialize local fields from a lot of database fields at initialization, then reverse the operation at form unloading. Moreover, CodeSMART can help to quickly format regular or SQL strings. 6.4. The Extended ClipboardCodeSMART extends the standard Clipboard with 10 additional copy-and-paste persistent buffers. These buffers can be filled with any piece of Visual Basic code and their contents can be pasted into any Visual Basic code window by using a simple shortcut key system. 7. SAVE TIME WITH THE INTEGRATED DESIGNER TOOLS7.1. Tab Order DesignerConfiguring/reconfiguring tab order on a form or user control by managing each control's TabIndex property value can be a very tedious task. CodeSMART has a Tab Order Designer which can help you automate this process. You can either set the order manually by simply sorting a control list, or you can even let the designer automatically establish the tab order (the engine does this in a standard right-to-left, top-to-bottom sequence). 7.2. Hotkey DesignerThe CodeSMART Hotkey Designer allows you to automatically manage hotkeys in your application's user interface. The tool provides a hotkey generation mechanism along with the possibility to preserve (lock) some already defined hotkeys. 7.3. Change Name and Text PropertiesWhen you design a form, besides modifying control positions and sizes, the
most often updated properties are the Name and (whichever applies, if
one) the Text or Caption properties. Plus you may want at some
time to rename a certain control based on its Caption/Text property, for example
rename a label with the caption "Surname" to "lblSurname" - or vice versa (that
is, perform a property-to-property value generation). 7.4. Bulk Controls RenamerWith the Bulk Controls Renamer CodeSMART can help you set appropriate control names on entire designers, according to standards defined in the Naming Standards Manager. Names are established through a "property-to-property value generation" mechanism, from Text or Caption properties. 8. REFORMAT AND DOCUMENT YOUR CODEAs projects become more and more complex, preserving a standard code formatting results in major benefits like improved code readability and accessibility. With CodeSMART you can address such recommendations using our dedicated tools for code reformatting, sorting and commenting. 8.1. Code FormatterThe CodeSMART Code Formatter can be used to reshape Visual Basic code based on your standards (either specific to a single programmer or used for an entire programming team). By using the CodeSMART Code Formatter you can:
8.2. Sort ProceduresOccasionally you may need to rearrange the code in a more logical and intelligible manner. CodeSMART offers you the possibility to arrange code elements based on their scope, type and signature. 8.3. Commenting ToolsThe CodeSMART commenting tools ease adding different types of comments and headers to Visual Basic code files and (in certain cases) their automatic removal. Type of comments used by the commenting tools:
You can use the Comment Templates Manager in order to customize the comment templates: 9. PROTECT FROM ERRORS AND EXCEPTIONS9.1. Error Handling SchemesAn error handling scheme is a general error handling template designed for a specific component or procedure. This template completely describes an error handling configuration: the error handler header and footer, if line numbers should be inserted or not and other options that configure the automatic insertion/removal process. These templates can be assigned to different types of Visual Basic components (Classes, Forms, Modules etc.) or to procedures (members) that match a certain pattern. CodeSMART comes with a set of predefined error handling schemes that can be modified in order to reflect your project's error handling needs. Schemes can be created, modified, assigned and removed through the Error Handling Scheme Manager. 9.2. TracingCodeSMART can help you automatically add or remove tracing instructions which
can be extremely valuable when debugging an application. This is achieved by
adding a dedicated module to your project (source code included) and a reference
to a special tool (AxVisualLogger) where the information can be logged.
Logged information preview: 9.3. Handling ExceptionsBecause Visual Basic doesn't offer built-in support for handling exceptions, you can use the MExceptionHandler module (provided by CodeSMART with full source code) which implements code for filtering any unhandled exceptions that may occur during a program's execution. This way your program can communicate unexpected events to a higher execution context that is eventually able to recover. Also, handling exceptions ensures that a termination code containing clean-up tasks is executed even if an exception or some other error occurs while the code is being executed. 10. OTHER TOOLS10.1. AutoSave and AutoBackupThese features offer you the possibility to automate two very useful mechanisms, which are indispensable for safe working, that is saving and creating backup copies. You can configure CodeSMART to save the modified components from your open projects at specific time intervals using the AutoSave feature. In addition to that, CodeSMART can create backup copies every time you save a component through its own AutoBackup system. 10.2. Code StatisticsThis feature can provide statistical information at a custom scope (component, project, project group). 10.3. Custom Code InserterThere are times during the coding process when you need to insert similar pieces of code in every procedure, function or property of a code module. Using the CodeSMART Custom Code inserter/remover subsystem you will be able to insert and afterwards remove special code chunks at various scopes and positions, like immediately after the first procedure's line, immediately before the procedure's last line or at a specific line number inside each procedure's body. 10.4. Show File DifferencesAs developer, there are times when you want to identify all the changes that were made to a file from the time it was last saved. The CodeSMART Show File Differences tool will help you in this task by comparing the component currently active in the Visual Basic code window with its corresponding file on disk. The output it produces shows a detailed list of changes. 10.5. Task List ManagerThe CodeSMART Task List can help you in planning projects, tracking
development progress and thus following deadlines and delivery terms.
Try it now!Download demo CodeSMART 2007 for VB6 works with Visual Basic 5.0 and 6.0. CodeSMART is produced and supported by AxTools. ©Aivosto Oy -
|