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
ceDeleteShortcut (Function)
In french: ceSupprimeRaccourci
Deletes a shortcut that was created by ceCreateShortcut.
Note: ceDeleteShortcut can be used only if a connection is established between the current computer and the Mobile device (ceConnect).
Example
// Create a shortcut in the "Program" menu
ceCreateShortcut("Example of shortcut", """\Program Files\MyExe.exe""")
...
// Delete the shortcut
ceDeleteShortcut("Example of shortcut")
// Create a shortcut in the "Temp" directory
ceCreateShortcut("\Temp\Example of shortcut.lnk", "\MyDirectory\MyExe.exe")
...
// Delete the shortcut
ceDeleteShortcut("\Temp\Example of shortcut.lnk")
Syntax
ceDeleteShortcut(<Shortcut>)
<Shortcut>: Character string (with quotes)
  • Name of the shortcut to delete in the following format: "<Shortcut Name>". In this case, the shortcut is deleted from the "Program" menu.
  • Name and path of the shortcut to delete in the following format: "\<Shortcut directories\Shortcut name>.<Shortcut extension>".
Remarks
Caution: ceDeleteShortcut returns no error code. To find out whether an error was generated by this function, use ErrorInfo associated with the errMessage constant.
Component : wd250ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment