Running Reflection as an ActiveX Control

image\rusing32.gif Adding a Reflection ActiveX Control to a Visual Basic Form


The following procedure describes how to add a Reflection ActiveX control to a Visual Basic form:

1 Create a new user form.

2 Add the Reflection control to the toolbox as follows:

  - Right-click on the toolbox area.
- Select Components (Visual Basic) or Additional Controls (VBA).
- Select the Reflection control from the list and click OK.

 An icon for the control will be added to the toolbox.

3 Drag the Reflection control icon to the form and use your mouse to set the size you want for the control.

4. Use the Properties window to edit the control's properties. Refer to the table below for information about properties that are unique for this control.

Reflection Control Properties

The following properties are available to control the configuration of the Reflection ActiveX control:




Specifies the name of a settings file to load at startup. Use complete path information. If no settings file is specified or the file that is specified doesn't exist, Reflection starts with default values.


Specifies the name of a macro that should be run when Reflection starts.


Specifies a unique session ID for the Reflection control.


Specifies whether the control is being used within a browser. The value determines if Reflection will display exiting dialog boxes or not. Values are True or False.