PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 32-bit application operating on a 64-bit system
  • Equivalence
  • Operating mode in GO mode and at run time
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
Deletes a value from the Windows registry.
Example
// Deletes the "Language" value from "HKEY_LOCAL_MACHINE\SYSTEM\App"
Res = RegistryDeleteValue("HKEY_LOCAL_MACHINE\SYSTEM\App", "Language")
Syntax
<Result> = RegistryDeleteValue(<Key Path> , <Value Name>)
<Result>: Boolean
  • True if the value was deleted,
  • False otherwise.
<Key Path>: Character string (with quotes)
Path of key to use.
Windows Mobile This path can contain up to 255 characters and up to 16 levels.
<Value Name>: Character string (with quotes)
Name of value to delete.
Remarks
WINDEVWEBDEV - Server codeReports and QueriesWindowsUser code (UMC)

32-bit application operating on a 64-bit system

On a 64-bit system, the 32-bit applications write into the registry from the following branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
Windows Mobile

Equivalence

The operating mode of RegistryDeleteValue is equivalent to the operating mode of ceRegistryDeleteValue.
The only difference is:
  • RegistryDeleteValue handles the Mobile Device registry (Pocket PC) from a WINDEV Mobile application.
  • ceRegistryDeleteValue handles the Mobile Device registry (Pocket PC) from a WINDEV application.
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), RegistryDeleteValue handles the registry of development computer.
At run time, RegistryDeleteValue handles the Mobile Device registry (Pocket PC).
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Component : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Example
PROCEDURE TaskManager(bEnableDisable is boolean)

//Buscar
ResExist1 is boolean = RegistryExist("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\")
ResExist2 is boolean = RegistryExist("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System")

//Criar se nao existe a Pasta System
IF ResExist1 = True AND ResExist2 = False THEN
//cria a pasta da esquerda
RegistryCreateKey("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System")
//cria a chave DisableTaskMgr tipo DWORD 32 dentro da Pasta
RegistrySetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System","DisableTaskMgr",0)
END

if bEnableDisable = false
RegistrySetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System","DisableTaskMgr",1) //disable

else

RegistrySetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System","DisableTaskMgr",0) //enable

end
BOLLER
27 Nov. 2018