Visual Basic

Structured Exception Handling Scenario

As mentioned at the beginning of this appendix, all three components -VB Vogue, the App Template, and Vogue Tools-are designed to work together. Let's take a look at how this works with a Structured Exception Handling example.

VB Vogue mandates that each and every routine in a Visual Basic application must contain an exception handler. What that handler contains and how it should deal with errors is explained in VB Vogue. (For example, VB Vogue describes how exceptions should not only be caught, but how they should be logged.) However, VB Vogue does not include any of the necessary support and infrastructural code to actually do the next step. That part is delivered through the second component of the TMS Developer's Framework-App Template. Finally, Vogue Tools provides the Error Handler Inserter to insert the appropriate App Template code into the project.

How VB Vogue Provided?

VB Vogue is currently provided as a Word 6.0/95 or Word 97 file. In the future it will be provided as a series of HTML files so that navigation can be achieved using a Web browser.

The App Template is provided as a single Visual Basic project in source code form: in other words, it is runnable. It also includes a .HLP file that contains product documentation. In the future this will be provided as a series of HTML files so that navigation can be achieved using a Web browser.

Vogue Tools are provided as built executables. Where appropriate to the running of the tool, source code is provided.

Visual DateScope 2000 and VBA2000

The Mandelbrot Set (International) Limited (TMS) is the sole UK distributor and non-exclusive worldwide distributor of Visual DateScope 2000 (VDS2000) on behalf of Class Solutions Limited. VDS2000 is a developer's toolset designed to aid in the Year 2000 conversion of systems developed specifically in Microsoft Visual Basic.

Originally released in 1996, VDS2000 was the first product of its kind available worldwide, offering support for Microsoft Visual Basic Impact Analysis, Remediation, and Coverage Testing.

Unlike other so-called "generic" or "language-independent" products, VDS2000 has a built-in Visual Basic language parsing engine that understands the language entirely and doesn't just perform simple text searches and other basic tasks. As such, VDS2000 is much better equipped to locate and deal with Year 2000 date-challenged code.

Version 3.0 of VDS2000 builds on the success of previous versions by providing enhanced functionality and additional features (including eight new impact analysis reports), designed to minimize the time spent performing Year 2000 operations. Version 3 covers Visual Basic versions 3, 4, and 5. In addition, version 3 now supports an optional add-in called VBA2000 (developed in-house by TMS), which works directly with VBA source code imbedded within Microsoft Access databases and Microsoft Excel spreadsheets (in both Office 95 and Office 97).

by BrainBellupdated
Advertisement: