CommenceApp Class |
Namespace: Vovin.CmcLibNet
The CommenceApp type exposes the following members.
| Name | Description | |
|---|---|---|
| CommenceApp |
Constructor.
|
| Name | Description | |
|---|---|---|
| ExePath |
Path to commence.exe.
| |
| Name |
Name of currently open Commence database.
| |
| Path |
Path of currently open Commence database.
| |
| RegisteredUser |
Registered user of current Commence database.
| |
| Version |
Version of active Commence application.
| |
| VersionExt |
Extended version of active Commence application.
|
| Name | Description | |
|---|---|---|
| Close |
Close any references to Commence. Objects implementing this interface should be disposed after this. Important: object derived from this interface will also have their COM-references closed.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
COM clients can use it by calling it with ProgId 'CmcLibNet.CommenceApp'.
COM applications such as Commence Item Detail Form scripts that use so-called 'late binding' can call the assembly thus:
VBscript:
Dim obj : Set obj = CreateObject("CmcLibNet.CommenceApp")
When used from Commence Item Detail Forms or Office VBA, be sure to read this: Close.