IWinApplicationClass.Binary

Fore Syntax

Binary: String;

Fore.NET Syntax

Binary: String;

Description

The Binary property returns path and name of the executable file that started the current version of platform.

Fore Example

Sub UserProc;
Begin
    Debug.WriteLine(WinApplication.Binary);
End Sub UserProc;

On executing the example the console window displays path and name of the file that launched the current platform version.

Fore.NET Example

Imports Prognoz.Platform.Interop.Ui;

Sub UserProc();
Var
    WinAppCls: WinApplicationClass = New WinApplicationClassClass();
Begin
    System.Diagnostics.Debug.WriteLine(WinAppCls.Binary);
End Sub;

On executing the example the console window displays path and name of the file that launched the current platform version.

See also:

IWinApplicationClass