The UMRA COM object supports interface functions to:
Execute form scripts on the UMRA Service
Retrieve information from form scripts, for instance tables, maintained on the UMRA Service.
The UMRA COM object software is contained in a single DLL installed as part of the UMRA Automation module. The DLL is called UmraCom.dll. The DLL is a so called type library and contains the code that implements the COM objects and interfaces. The DLL is referenced in script environments as UMRAcom 1.0 Type Library.
The UMRA COM software consists of 3 objects, all contained in UmraCom.dll. These objects are used in script- and programming languages. The objects are described below:
|
COM object name |
Type library |
Description |
|
Umra |
UMRAcom |
Base object, used to connect to the UMRA Service, execute form project scripts, setup variable values and access forms. |
|
UmraFormProject |
UMRAcom |
Form project object. Used to access the contents of form fields of form projects. |
|
UmraFormTable |
UMRAcom |
Form table object. Used to access the fields of a table contained in form project. |
|
|
|
|
Each of the UMRA COM software objects supports a number of methods and properties that define the interface of the object. A summary of the form object interfaces is shown in the table below:
|
COM object |
Interface method |
Description |
|
Umra |
Get the version information and build number of the interface | |
|
Umra |
Connect to an UMRA Service | |
|
Umra |
Get the name of the connected UMRA Service | |
|
Umra |
Get the port number of the connected UMRA Service | |
|
Umra |
Get the log message last generated | |
|
Umra |
Set the variable name and variable value of a text variable | |
|
Umra |
Set the variable name and variable value of a numeric variable | |
|
Umra |
Set the variable name and variable value of a boolean variable | |
|
Umra |
Clear all variables maintained by the interface | |
|
Umra |
Clear (delete) a variable with the specified name | |
|
Umra |
Execute the specificed script at the connected UMRA Service | |
|
Umra |
Get the text value of the specified variable | |
|
Umra |
Load the specified form project from the connected UMRA Service. | |
|
Umra |
Get the host name and port number of the connected UMRA Service | |
|
Umra |
Get the status information of the executed script | |
|
UmraFormProject |
Access the specified table | |
|
UmraFormTable |
Retrieve the text of the specified row-column from the table | |
|
|
|
|
See also:
UMRA forms - Introduction
UMRA Automation - Principle
UMRA console - Command line options
UMRA Automation - COM object
UMRA Automation - COM interface
UMRA service - Introduction
UMRA Automation - Command Line Interface