Initialize Method (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Initalizes the application.

Usage

Application.Initialize(ByVal WDIRPath As String, ByVal LicensePath As String) As Long

Arguments

WDIRPath

The value of the WDIR environment variable. The WDIR variable specifies the paths that Xpedition Designer searches on initialization for scripts. These paths can exist anywhere on your network.

LicensePath

The value of the LM_LICENSE_FILE variable.

Return Values

As Long. Returns True if the initialization was successful. Returns False otherwise.

Description

The application must do some initialization at startup. When started by an automation client, the initialization is delayed until the client calls Initialize so that the client can pass the correct environment to Xpedition Designer. If you start Xpedition Designer you must make this call before accessing any properties or calling any other methods.