Click or drag to resize

Application Class

CmcLibNet is a .NET assembly that wraps the Commence API. The primary goal for developing this library was to make it easier to communicate with Commence from Powershell. Some convenience methods can only be used from .NET applications, but all functionality as defined in the Commence API is available from COM.
Inheritance Hierarchy
SystemObject
  Vovin.CmcLibNetApplication

Namespace:  Vovin.CmcLibNet
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
public class Application : IApplication

The Application type exposes the following members.

Constructors
  NameDescription
Public methodApplication
Initializes a new instance of the Application class
Top
Properties
  NameDescription
Public propertyAssemblyInfo
Returns information on the assembly. .Net only.
Public propertyCommenceApp
Returns a reference to the Commence application
Public propertyDatabase
Returns a reference to the Commence database.
Public propertyExport
Returns a reference to the Export engine.
Public propertyServices
Returns a reference to the Services utility.
Public propertyVersion
Returns assembly version.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

COM clients can use it by calling it with ProgId 'CmcLibNet.Application'.

COM applications such as Commence Item Detail Form scripts that use so-called 'late binding' can call the assembly thus:

VBscript:

VBScript
Dim obj : Set obj = CreateObject("CmcLibNet.Application")
See Also