PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Registry of the Mobile Device
  • Managing errors
  • Registry of a Smartphone
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
Identifies the path of the Nth sub-key in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Note: To handle the registry of the Mobile Device, a connection must be established between the current computer and the Mobile Device (ceConnect).
Example
Path is string
// Find out the name of the primary key
Path = ceRegistryFirstSubKey()
// Find out the name of the 3rd sub-key of the primary key
SubKeyPath = ceRegistrySubKey(Path, 3)
Syntax
<Result> = ceRegistrySubKey([<Key Path> [, <Key Subscript>]])
<Result>: Character string
  • Full path of the Nth sub-key of the specified key.
  • Empty string ("") if no sub-key was found.
<Key Path>: Optional character string (with quotes)
Full path of key to use. If this parameter is not specified, the path of the Nth sub-key of the "HKEY_CLASSES_ROOT" key is returned.
<Key Subscript>: Optional integer
Subscript of the sub-key to use. If this parameter is not specified, the path of the first sub-key of the specified key is returned.
Remarks

Registry of the Mobile Device

The following branches do not exist on a Mobile Device:
  • HKEY_PERFORMANCE_DATA,
  • HKEY_CURRENT_CONFIG,
  • HKEY_DYN_DATA.

Managing errors

Caution: ceRegistrySubKey returns no error code. To find out whether an error was generated by this function, use the ErrorOccurred variable. To find out the error details, use ErrorInfo.

Registry of a Smartphone

The access to the registry may fail on some Smartphones. In this case, the ErrorOccurred variable is set to True.
Components
WINDEVReports and Queries wd230ce.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment