Programmatic OLE Identifiers

23.08.2021

You can use a programmatic OLE identifier (sometimes also called ProgID) to create an automation object. The following tables show the programmatic OLE identifiers for the ActiveX controls and FlexPro.

ActiveX controls

If you want to create the ActiveX controls listed in the following table, use the corresponding programmatic OLE identifier.

Control

Identifier

CheckBox

Forms.CheckBox.1

ComboBox

Forms.ComboBox.1

CommandButton

Forms.CommandButton.1

Frame

Forms.Frame.1

Image

Forms.Image.1

Label

Forms.Label.1

ListBox

Forms.ListBox.1

MultiPage

Forms.MultiPage.1

OptionButton

Forms.OptionButton.1

ScrollBar

Forms.ScrollBar.1

SpinButton

Forms.SpinButton.1

TabStrip

Forms.TabStrip.1

TextBox

Forms.TextBox.1

ToggleButton

Forms.ToggleButton.1

FlexPro

To create the FlexPro objects listed in the following table, use the corresponding programmatic OLE identifier. If you use an identifier without the version number suffix, you will create an object of the latest FlexPro version available on the computer on which the macro is executed.

Object

Identifier

Application

FlexPro.Application, FlexPro.Application.8

Database

FlexPro.Database, FlexPro.Database.8

SearchConstraints

FlexPro.SearchConstraints, FlexPro.SearchConstraints.1

Share article or send as email:

You might be interested in these articles