_RunActiveDoc, Sys(4204)
This system variable and function are related to getting active document applications to run. _RunActiveDoc contains the Active Document launcher program. SYS(4204) controls active document-debugging mode.
Usage |
cActiveDocLauncher = _RunActiveDoc _RunActiveDoc = cActiveDocLauncher Sys( 4204 [, nOnOrOff ] ) |
Parameter |
Value |
Meaning |
cActiveDocLauncher |
Character |
The name of a program to run to launch active document applications. Defaults to "RunActD.PRG" in the VFP home directory. |
nOnOrOff |
0 |
Turn off debugging mode for active document applications. |
1 or omitted |
Turn on debugging mode for active document applications. |
Unlike most of the SYS() functions, SYS(4204) doesn't return either the current or the new value. In fact, there's no way to determine the current value of this setting. You'd think, by now, Microsoft would know that for every setting, there should be an equal and opposite way to find the current setting. |
Example |
_RunActiveDoc = "MyGreatActiveDocLauncher" SYS(4204,1) && Turn on debugger in browser mode. DO (_RunActiveDoc) |
See Also |