PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
The following functions are used to manage the Windows registry:
RegistryCopyKeyCopies a registry key as well as all its sub-keys and values.
RegistryCreateKeyCreates a key in the Windows registry.
RegistryDeleteKeyDeletes a sub-key from the Windows registry.
RegistryDeleteValueDeletes a value from the Windows registry.
RegistryExistChecks the existence of a key in the Windows registry.
RegistryFirstSubKeyIdentifies the path of first sub-key of specified key in the Windows registry.
RegistryListKeyLists the sub-keys of a registry key.
RegistryListValueReturns the name (and possibly the type) of values for a key found in the registry.
RegistryNextKeyIdentifies the key found after the specified key in the Windows registry.
RegistryQueryValueReads the value of a register in the Windows registry.
RegistryRenameRenames a key in the registry.
RegistrySeekSeeks a character string in the registry.
RegistrySetValueWrites a value into a register of the Windows registry.
RegistryValueTypeReturns the type of value found in the registry.
The following functions are used to manage the Mobile registry from a WINDEV application:
Versions 09 and later
ceRegistryCreateKey
New in version 09
ceRegistryCreateKey
ceRegistryCreateKey
Creates a key in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryDeleteKey
New in version 09
ceRegistryDeleteKey
ceRegistryDeleteKey
Deletes a sub-key from the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryDeleteValue
New in version 09
ceRegistryDeleteValue
ceRegistryDeleteValue
Deletes a value from the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryExist
New in version 09
ceRegistryExist
ceRegistryExist
Checks the existence of a key in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryFirstSubKey
New in version 09
ceRegistryFirstSubKey
ceRegistryFirstSubKey
Identifies the key found after the specified key in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryListValue
New in version 09
ceRegistryListValue
ceRegistryListValue
Returns the name (and possibly the type) of the values for a registry key of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryNextKey
New in version 09
ceRegistryNextKey
ceRegistryNextKey
Identifies the key found after the specified key in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistryQueryValue
New in version 09
ceRegistryQueryValue
ceRegistryQueryValue
Reads the value of a register in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistrySetValue
New in version 09
ceRegistrySetValue
ceRegistrySetValue
Writes a value into a register of the registry on the Mobile Device (Pocket PC) connected to the current computer.
Versions 09 and later
ceRegistrySubKey
New in version 09
ceRegistrySubKey
ceRegistrySubKey
Identifies the path of the Nth sub-key in the registry of the Mobile Device (Pocket PC) connected to the current computer.
Related Examples:
WD Evaluation period Training (WINDEV): WD Evaluation period
[ + ] This example explains how to limit the use of an application to a given period (evaluation period).
The following topics are presented in this example:
1/ the protection of an application for a given duration
2/ the management of the registry

Summary of the example supplied with WINDEV:
When this example is started for the first time, it is activated for an evaluation period set to 5 days.
The information regarding the date when it was first started is stored in the registry and a control key is used to check whether this date was not modified by the end user. At the end of the evaluation period, the application is locked, unless the end user provides the code for unlocking the application
WD Device Opening Training (WINDEV): WD Device Opening
[ + ] When inserting a removable device (USB key, and so on), the operating system of Windows proposes a list of preset actions to open the files found in this device.
The set of procedures proposed in this example will allow you to easily add or delete an application to/from the automatic opening system for the removable devices by programming.
WD Persistence Training (WINDEV): WD Persistence
[ + ] This example presents the use of InitParameter, LoadParameter and SaveParameter.
These functions are used to configure the backup of controls, variables and other parameters.
This example is divided into three parts:
- The configuration
- The manual management of variables (SaveParameter and LoadParameter)
- The optimization
1°) Configuration

The configuration window enables you to modify the location of the backup of parameters (registry, INI file, XML file) as well as its path (registry key or file path).
2°) Manual management of the variables
The manual management enables you to save the content of the variables via SaveParameter and to restore them via LoadParameter. Each parameter is identified by a name. These values are saved at the location defined in the configuration window.
3°) The optimization
This window explains how to optimize your code to avoid the slowness caused when the saved values are restored. Indeed, when restoring the value of a control, its modification code is run. If you have long processes (queries with parameters for instance), this window shows you how to speed up the loading of the window.
Registry Unit examples (WINDEV): Registry
[ + ] Handling the Windows registry:
- Create a key
- Write a value
- Read a value
- Delete a key
- Find out the key associated with the current project
The Registry functions Unit examples (WINDEV Mobile): The Registry functions
[ + ] Handling the Pocket PC registry:
- Create a key
- Write a value
- Read a value
- Delete a key
- Find out the key associated with the current project
PC Registry Windows (WINDEV Mobile): PC Registry
[ + ] This example presents the functions used to handle the registry of the Pocket PC.
The following topics are presented in this example:
1/ The ceRegistryXXX functions
2/ The connection to a Pocket PC
Summary of the example supplied with WINDEV Mobile:
This full example enables you to handle the registry of the Pocket PC:
- Displaying the keys and values of the registry while managing a cache
- Creating a key or a value
- Deleting a key
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment