PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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.
Note: ceCreateShortcut can be used only if a connection is established between the current computer and the Mobile device (ceConnect).
Versions 20 and later
Note: this function is available in 64-bit mode.
New in version 20
Note: this function is available in 64-bit mode.
Note: 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 whether an error was generated by this function, use ErrorInfo associated with the errMessage constant.
Component : wd240ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment