Reflection ActiveX Control

image\rwnprg32.gif StartupMacro property



object.StartupMacro = Value

Data type




Returns (first syntax line) or specifies (second syntax line) the name of a macro in the settings file that should be run when Reflection starts. This property is only relevant if the control is using a settings file. You can designate a start up settings file using StartupSettingsFile. (Note: To use Reflection for IBM macros, both the *.rsf and *.rvx files must be available.)

If you have added a control to a Visual Basic form, you can set the value of this property by selecting the control on your form and using the Properties window.

If you are creating a form on a web page, use the following syntax:

<OBJECT ID ="RibmCtrl"


 <PARAM NAME="StartupSettingsFile" VALUE="C:\Demo\MyFile.rsf">

 <PARAM NAME="StartupMacro" VALUE="MyMacro">



· You can also configure the Reflection ActiveX control to run macros using the RunMacro method. Macros specified using StartupMacro run before the Reflection control appears in the browser window. Macros executed using RunMacro always run after the control has appeared in the browser.


image\popup.gif Related Topics