PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Use in service mode
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
  • To display any page in a browser, you can also use BrowserRunApp.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
WINDEVJava This function is now available for Java applications.
New in version 19
WINDEVJava This function is now available for Java applications.
WINDEVJava This function is now available for Java applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WINDEVUser code (UMC)
// Ouvre le document "Fonctions.doc" dans Word
ShellExecute("C:\WDNEWS\Version\Fonctions.doc")
// Imprime le document
ShellExecute("C:\WDNEWS\Version\Fonctions.doc", "print")
WINDEVUser code (UMC)
// Ouverture d'un site dans le navigateur par défaut
ShellExecute("http://www.pcsoft.fr")
WINDEVUser code (UMC)
// Lancement de la messagerie configurée par défaut
ShellExecute("mailto:pcsoft@pcsoft.fr")
// Lancement de la messagerie avec paramètres
// Paramètres reconnus par Outlook
ShellExecute("mailto:pcsoft@pcsoft.fr" + ...
"?subject=Sujet: LST &body=Texte: le sommaire de la LST")
WINDEVUser code (UMC)
// Ouvre le document "Facture.doc" à partir de son raccourci
ShellExecute("""C:\Documents and Settings\Julie\Bureau\Raccourci vers Facture.doc.lnk""")
Syntax
<Result> = ShellExecute(<File name> [, <Verb>])
<Result>: Boolean
  • True if the document was opened,
  • False otherwise.
Java Returns False if the application is run with a Java virtual machine (JRE) earlier than version 1.6.
<File name>: Character string (with quotes)
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.
WINDEV This parameter can also correspond to a Windows shortcut.
Versions 18 and later
Universal Windows 10 App Only the files found in the "appdata" directory can be handled. No Internet URL can be specified.
New in version 18
Universal Windows 10 App Only the files found in the "appdata" directory can be handled. No Internet URL can be specified.
Universal Windows 10 App Only the files found in the "appdata" directory can be handled. No Internet URL can be specified.
<Verb>: Optional character string (with quotes)
Verb that must be used to start the document. The verbs are defined for each application, to indicate the actions that can be performed. The most common verbs are open or print. If this parameter is not specified, the verb used will be the default verb for the type of document.
Versions 16 and later
Universal Windows 10 AppJava This parameter is not available.
New in version 16
Universal Windows 10 AppJava This parameter is not available.
Universal Windows 10 AppJava This parameter is not available.
Remarks

Use in service mode

ShellExecute used in service mode is used to run the associated application but the interface of this application is not visible.
Versions 21 and later
Universal Windows 10 App

Required application feature

When this function is used, an application feature is declared in the application generation wizard.
Required feature: Family and corporate networks
This feature allows the applications to use incoming and outgoing accesses to the family and corporate networks.
New in version 21
Universal Windows 10 App

Required application feature

When this function is used, an application feature is declared in the application generation wizard.
Required feature: Family and corporate networks
This feature allows the applications to use incoming and outgoing accesses to the family and corporate networks.
Universal Windows 10 App

Required application feature

When this function is used, an application feature is declared in the application generation wizard.
Required feature: Family and corporate networks
This feature allows the applications to use incoming and outgoing accesses to the family and corporate networks.
Business / UI classification: Neutral code
Component: wd260std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment