Created On:  29 November 2011

Problem:

The Thin Client application makes use of a COM object which must be invoked entirely on the server to avoid having to also install it on the client PCs.

The usual way of instantiating a COM object seems to require the object be present on the client PC.  For example:

CREATE Application of Excel 
    SERVER-NAME is "MyServer"
    HANDLE in xl-app.

This requires that Excel be installed on the client PC.  If not the create statement fails.  How can this be accomplished so nothing needs to be present on the client PC?

Resolution:

Using the “Local:” prefix with the server name will cause the COM object to be wholly instantiated on the server with no requirement of anything being present on the client PC.  The CREATE statement from the example above becomes:

CREATE Application of Excel 
    SERVER-NAME is "Local:MyServer"
    HANDLE in xl-app.

In this case Excel must be present only on the server.