Opens a document in its associated application. The application is opened first, then the specified document.
Remarks:
- The application used to open the document is the one associated with the extension of the document in Windows (INI file or registry). This associated application may differ according to the configurations used.
This document is opened on the server. This function can be used on the development computer because this compute is considered as being the server.
This document must be found on the server or at any Internet address. This document is opened on the computer of the Web user. - To display any page in a browser, you can also use BrowserRunApp.
Syntax
ShellExecute(<File name>)
<File name>: Character string
Name and full (or relative) path of document to open. A UNC path can be used.
If space characters are found in the name or path of the document to open, the quotes found around this parameter must be tripled.
Remarks
Use in service mode
When ShellExecute is used in service mode, it runs the associated application but the interface of this application is not visible.
Business / UI classification: Neutral code