All Cadcorp SIS API Methods

DoCommand Method

Description

Executes a command.

Syntax

Visual Basic
Public Function DoCommand( _
   ByVal comname As String _
) As Integer

Parameters

comname
The command to execute.

Remarks

This method will execute a CallCommand (if the command is a "one-shot") or a SwitchCommand (if the command is a "callback") when used via GisLink. In the SIS Control, the command will be executed immediately.

Available: D OD OM OU OV

Groups:

Example

sis.DoCommand ("AComShowProgramWindow" )

Displays the Program Window. This is useful during the development of an application.