david7
27th November 2006, 17:06
Hi all,
Does anyone has any documentation on the start.application.local function ?
Thanks,
David
mark_h
27th November 2006, 17:31
The only documentation I know of is doing a bic_info6.1 ottdllbw. It describes each parameter.
george7a
27th November 2006, 18:15
Here yo go:
function extern boolean start.application.local(
const string commandline(),
boolean waitflag,
ref long exitcode,
[ const string verb() ] )
Descr : start an application.
Pre :
Post : The application in commandline will be started and an
application id will be returned.
Input : commandline
commandline is application to start.
If commandline does not contain a directory path
Windows searches for the executable in the following sequence:
1. The directory where BW is loaded.
2. Windows system directory.
3. The windows directory
4. The directories that are listed in the PATH environment variable.
If commandline contains a nonexecutable filename than Windows will start
the application where the extension of that file is associated with.
For instants if commandline is "c:\temp\file.txt" and ".txt" is associated
with application "notepad.exe" than Windows will start the application
"notepad.exe".
waitFlag true function will wait until the local application exits
false function will not wait
verb When the commandline is a document name on the client, the verb
input argument can be used to indicate which action should be performed
on the document. Standard supported actions are: "open" and "print".
When a verb is specified, the application will always be started asynchronously
(e.g. as if waitFlag was false).
Output : exitCode exit code of the local application (only when waitFlag was true)
Return : true local application started successfully.
false local application failed to start.
- George