omron — ActiveX Control object

Screens and Graphics to check the control against those that are already registered. If the settings do not match, then the runtime station may unnecessarily download the same control again. If you don't know the CLSID and Version settings for an ActiveX control, you can find them in the registry key of an already installed and registered control. Search for the control file in HKEY_CLASSES_ROOT\CSLID in the Windows Registry. Also, the URL for the Codebase setting can be either absolute or relative to the Web server's "home" directory. For example: Codebase=http:// server_address /AddOns/IndDateTimePick.ocx …or…

Codebase=AddOns/IndDateTimePick.ocx Finally, the Regfile settings are required only if Codebase links to a .CAB file. If it does, then use one or more Regfile settings to name the specific files within the .CAB file that must be downloaded and registered. ActiveX controls are components designed according to a standard. Because InduSoft Web Studio is an ActiveX container, you can configure and run ActiveX controls in the screens created with IWS. ActiveX controls can provide the following interfaces: • Properties : Variables whose values can be read and/or written for your project (e.g., Object Color, FileName, URL, and so forth) • Methods :

Functions from the ActiveX object that can be triggered by your project (e.g., open a dialog, execute a calculation, and so forth) • Events : Internal messages that can trigger the execution of expressions in your project (e.g., Mouse_Click, Download_Completed, and so forth) The name of the properties, methods and events supported by each ActiveX depends on its own implementation. There are two different ways to interface your project with the ActiveX control: • By using the ActiveX functions XGet() , XSet() and XRun() OR • By using the Object Properties window to configure the object Double-click on the ActiveX Control to open the Object Properties dialog. Object Properties:

ActiveX Control The Object Properties window displays the name of the ActiveX control. Generally, each ActiveX control is either a *.dll or a *.ocx file registered in your local computer. You must assign a name (alias) to the ActiveX control on the Name field (e.g., MyControl). This name is used to reference the object when calling one of the ActiveX functions that are provided in the Built-in Scripting Language. Note: You should not configure two ActiveX controls on the same screen with the same name.

For instance, if you insert two "Windows Media Player" ActiveX controls on the same screen, and assign the name MyMP1 to one object (Name field), you cannot assign the same name to the second object on the same screen. You would have to assign the name MyMP2, for example, to the second object. The Property Pages button opens the standard window for configuring the Static Properties (if any). The layout and the options in this dialog depend on the implementeation of each ActiveX Control. Use this interface to set properties that should not be changed during runtime (fixed properties). The Configuration button on the Object Properties window opens dialogs that allow you to do the following:

InduSoft Web Studio Page 193