Activates (launches) the A-Shell application.
Syntax
Application.Activate CmdLineParameters
Parameters
CmdLineParameters
An optional String value containing the same command line parameters which are supported when A-Shell is launched from the command prompt. This controls the way in which the A-Shell application is initialised.
Remarks
When an A-Shell Application object is created, the A-Shell window is not shown, and main A-Shell processing not started until the Activate method is called. This provides the opportunity to control whether the A-Shell window is to be invisible – with the Visible property – and to control the way in which A-Shell is to operate - with the command line parameters specified to the Activate method. For example, the following Visual BASIC code sequence would launch A-Shell with a specific initialisation file:
Dim oAshell as ASHW32Lib.Application
’
Set oAShell = New
ASHW32Lib.Application
oAShell.Activate “-i
C:\TEST\MIAME2.INI”