ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Standard functions / Mobile Device (Pocket PC) access functions
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
ceCreateShortcut (Function)
In french: ceCréeRaccourci
Creates a shortcut on the Mobile Device (Pocket PC) connected to the current computer.
Remark: ceCreateShortcut can be used only if a connection is established between the current computer and the Mobile device (ceConnect).
Remark: this function is available in 64-bit mode.
Example
// Create a shortcut in the "Program" menu
ceCreateShortcut("Example of shortcut", """\Program Files\MyExe.exe""")
// Create a shortcut in the "Temp" directory
ceCreateShortcut("\Temp\Example of shortcut.lnk", "\MyDirectory\MyExe.exe")
Syntax
ceCreateShortcut(<Shortcut> , <Command line>)
<Shortcut>: Character string (with quotes)
  • Name of the shortcut in the following format: "<Shortcut name>". In this case, the shortcut is created in the "Program" menu.
  • Name and path of the shortcut in the following format: "\<Shortcut directories\Shortcut name>.<Shortcut extension>".
<Command line>: Character string (with quotes)
Full command line associated with the shortcut. This command line will be run when a double click is performed on the link.
The paths of the files containing space characters must be enclosed in quotes. For example:
""\My directory\File.exe""
Remarks
ceCreateShortcut returns no error code. To find out if this function has generated an error, use ErrorInfo with the errMessage constant.
Component: wd260ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/26/2021

Send a report | Local help