Choice Inspector

The Choice Inspector displays the Choices published by Visual InterDev and other DTCs appearing before it on the page. You can add it if you have ChoiceInspect.dll registered on your machine. The inspector is a design-time control created in Visual Basic.

In order to use the Choice Inspector, you need to have Cinspect.dll registered on your computer using CInspect.reg.

To register the Choice Inspector

  1. At a command prompt, navigate to the directory where CInspect.dll resides.

    By default, the .dll is located in c:\program files\dtcsdk60\tools.

  2. Run Regsvr32 CInspect.dll.

  3. Run Regedit CInspect.reg.

    By default, the .reg is located in c:\program files\dtcsdk60\tools. If you installed the SDK or Visual InterDev to a directory other than the default, then you need to edit the .reg file to change the default path to the new one.

If you need to edit the registration file, change path for the following two keys in cinspect.reg from c:\Program Files\Microsoft Visual Studio to the current location of Visual Studio on your computer.

HKEY_CLASSES_ROOT\CLSID\{E45370A0-60E9-11D1-A7C9-0000F80401CA}\InProcServer32: 
HKEY_CLASSES_ROOT\CLSID\{E45370A0-60E9-11D1-A7C9-0000F80401CA}\TooboxBitmap32:

After you add the Choice Inspector to your document, you can view the following information about the choices published on the page.

Options

Filter

Type

Enter a string specifying a value for the Type property of the choice you want to filter on.

Text

Enter a string specifying the content of the choice.

ApplyFilter

Use to display only the choices matching the Filter or Text specified.

ClearFilter

Use to remove the filter and display all the available choices.

Choices Available

Type

Displays a string specifying the Type of choice you want to filter on.

Text

Displays a string specifying the content of a Choice object.

Description

Displays the string used by the user interface to provide a friendly name for the Choice object.

Tags

Displays the number of tags associated with a Choice object.

TagList

Displays the names and values of the tags for each Choice object. You can use the drop-down list to view more information about a specific tag.

Details of current choice

Displays the property values for the Choice object selected in the grid above.

Category

An unimplemented property reserved for future use.

TextUnique

Shows whether several Choice objects can have the same value for the Text property.

Sequential

Shows T (True) if the choice is visible only to DTCs following it on the page or F (False) if visible to all DTCs on the page.

Enabled

Shows T if the Choice object is currently available. This property can be set to False to make the choice unavailable.

Interest

An unimplemented property reserved for future use.

Popup

Shows F if the text of the Choice object does not depend on a callback object to generate text.

For more information about using the Choice Inspector, see Viewing Available Choices.