WinExec()

WinExec()

Type: REGULAR FUNCTION

Purpose: Start execution of a Windows® application by a call from Explain™.

Equivalent to a Program Manager File>Run… command.

Usage: WinExec(Command, Mode)

  Command STRING The pathname of the program to run.
  Mode INDEX

A code describing the window in which
the program runs and the program
status.

0 = hidden

1 = activate, show normal size

2 = activate, show minimized (as icon)

3 = activate, show maximized
(full screen)

4 = don’t activate, show normal size

5 = activate, show at current size

7 = don’t activate, show minimized

  NIL same as INDEX = 7

Yield()