Copyright: © Copyright 1997 NuMega Technologies, Inc.


Missing Topic or Incorrect Help ID

This page intentionally left blank.

If you have reached this topic, please report the incorrect or missing jump as an error in the help system.


Changing SmartCheck Settings from Visual Basic
To change SmartCheck settings from Visual Basic

On the Visual Basic Project menu, click SmartCheck Settings. For setting definitions, see:

Error Detection Settings

Reporting Settings

Source Files, Directories and Run Options (Program Infor Settings)

Files to Check Settings

Error Suppression Settings

After you review Settings, click OK to accept any changes.


Viewing SmartCheck Help from Visual Basic
To view SmartCheck Help  from Visual Basic

Select SmartCheck Help Topics from the Visual Basic Help menu.


How to Check a Program from Visual Basic
To check a program from Visual Basic

Before starting

•	If your program launches other ActiveX executables (EXEs), which you need SmartCheck to check in conjunction with your program, see Checking Multiple ActiveX Executables.

To check a program

1	In Visual Basic, open the project you want to check.

2	Click SmartCheck Settings on the Project menu, to review SmartCheck settings for your program. For setting definitions, see:

Error Detection Settings

Reporting Settings

Source Files, Directories and Run Options (Program Info Settings)

Files to Check Settings

Error Suppression Settings

3	After you finish reviewing Settings, click OK to accept any changes.

4	On the Run menu, click Start With SmartCheck.

A SmartCheck message appears, reminding you to set Project Properties. As indicated, you must be sure these Visual Basic Compile options are active: Compile to Native Code; No Optimization; Create Symbolic Debug Info.

When using SmartCheck to check a project group, be aware that you must set compilation options separately for each project in the group.

5	Click Project Properties, review and change these options as necessary. Click OK to accept any changes.

6	Click Start with SmartCheck. If you have changed Project Properties, you will be prompted to save your project. Next, your program automatically compiles, and SmartCheck loads and starts to run the program.

7	Use your program as you normally would.

If you chose to Report Errors Immediately (under the Error Detection tab of the SmartCheck Settings), SmartCheck displays any errors it finds in the Program Error Detected window. This window displays detailed information about the detected error and provides several options for controlling further occurrences of the error. Decide what action you want to take in response to each error, or click Explain for a description of the error and potential solutions.

As you check your program, SmartCheck logs program errors and events and dynamically displays this information in the Program Results window.

8	When you finish checking your program, you can review the errors and events detected by SmartCheck in the Program Results window. You can also filter the information presented in the Program Results window and save or print program results.

To learn how to check a program from the command line, click here [image].

   Related Topics


Opening a Program  (Visual Basic)
To open a program in Visual Basic

1	On the File menu, click Open Project.

2	Select the .VBP file, and then click Open.

   Related Topics


Selecting Visual Basic Compile Options
To set Visual Basic Compilation options for SmartCheck

To take advantage of SmartCheck’s Visual Basic features, you need to set the Compile options identified here.

1	On the Project menu, click Project Properties.

2	Click the Compile tab.

3	Be sure these options are selected:

•	Compile to Native Code

•	No Optimization

•	Create Symbolic Debug Info

   Related Topics