MS Common Control and VB Extension Connector

(Available from version 7.0 onwards.)

Automation Studio is designed to provide powerful and reliable screen element capturing from applications that are based on Visual Basic 6.0.

The MS Control Common and VB connector is a sub-connector (an extension) of the Win32 connector.

Connector Features

The built-in MS Common Control and VB Extension Connector provides the following features:

  • Capture any object in Visual Basic 6.0 applications

  • Support for 32-bit and 64-bit architecture

  • Support for multiple instances to allow you to select which of multiple instances of a target to capture, for example, the instance in focus

Configure the Connector

No configuration is required for the MS Common Control and VB Extension Connector. This connector is enabled by default.

Capture a Screen Element

The procedure for capturing a screen element from a Visual Basic 6.0 application is the same as for all screen elements. See Capture a Screen Element.

Edit a Screen Element

The Edit Screen Element window opens after capturing a screen element. This screen allows you to customize how the screen element is treated and identified. See Edit a Screen Element.

Information specific to Virtual Basic application screen elements is provided below.

Element Hierarchy

The element hierarchy for a captured Visual Basic application element is as follows:

  • Root branch for the process

    • MS Common Control DB Form element, representing the form on which the captured element is located

      • The screen element you captured.

See View the Element Hierarchy.

Screen Element Types Supported

The screen element type values available differ between levels in the hierarchy.

Type

Screen Element Types

MS Common Control and VB Screen Elements

  • MS Common Control List View

  • MS Common Control Tree View

  • MS Common Control Flex Grid

  • MS Common Control VB Thunder Form

  • vb AcceleratorSGrid

  • VB6 Tab ActiveX Control

  • VB6 FT Generic grid

  • VB6 FastBlue TabStrip

  • VB6 VSFlex Grid

  • VB6Dx TreeLIst

  • VB6 VQ Checkbox

  • VB IvsIndexTab

  • SSPanel

  • All types for Win32 elements

  • All types for Delphi elements

MS Common Control and VB Form

  • MS Common Control VB Thunder Form

MS Common Control and VB Process

  • Process

Recognition Properties Supported

The recognition properties available differ between levels in the hierarchy. These are identical as for WIN32 screen elements.

Main Relation Type

The element's main relation type is displayed in the Edit Screen Element window, but cannot be changed.

This section is not displayed for the MS Common Control and VB process.

See Identify an Element's Main Relation Type.

Multi Instance Support

The MS Common Control and VB connector provides support for multiple instances.

You can specify which instance of the application to relate to if multiple instance of the same application are open.

Multi instance support differs between levels in the hierarchy.

Type

Multi Instance Support

MS Common Control and VB Screen Element Optional, inactive by default.

MS Common Control and VB Screen Form

Optional, inactive by default.

MS Common Control and VB Screen Process

Active by default, cannot be deactivated.

See Set Multi Instance Behavior

Screen Element Assets

Each screen elements has its own properties, functions, and events. These are visible in the Assets Panel.

For information on screen element assets, see here.

Monitor Screen Elements in Debug Mode

When in debug mode, you can view and modify the values of a screen element's properties.

In the example below, the rows from the ListView screen element are assigned to the ListView variable. The contents of those rows can be monitored during debug.

See Monitor Screen Elements in Execution Mode.