|
Previous Top Next |
| Prototype: | (Long pW, String pOp, String pFile, <String pParam>, <String pDir>, Long pShow=IT_SW_SHOWNORMAL),Long,PROC |
| pW | Window handle to use. |
| pOp | Operator or verb to use. |
| pFile | Filename to execute. |
| pParam | Optional parameters |
| pDir | Optional startup directory |
| pShow | Optional show parameters. |
| Returns | Returns the returnvalue from ShellExec api. |
This method is a direct wrapper for the ShellExec api. The only difference is that it accepts string rather than CStrings and the 3 last parameters are optional.
Example:
ITS ITShellClass
Code
ITS.ShelLExec(0{Prop:Handle},'C:\mydocs\letter.doc') !! Opens a MS Word document
See also: