hi, I've created a Registry Function that uses all the functions that will only use 1 line of code to call the function, I need this neating up, trimming and adding more addons 2 the Function.
I need these below adding and if there is any more registry functions that can be added please add them 2 the Function.
maybe KeyExist, ValueExists, reading & writing binary to the registry.
so this will be a fully working Function, which all the Registry Entrys allowed.
to Call the Function = Registry('ReadString','HKEY_LOCAL_MACHINE','\Software\Client\','format','');
With TRegistry.Create do try
if root = 'HKEY_CLASSES_ROOT' then
else if root = 'HKEY_CURRENT_USER' then
else if root = 'HKEY_LOCAL_MACHINE' then
else if root = 'HKEY_USERS' then
else if root = 'HKEY_CURRENT_CONFIG' then
if func = 'ReadString' then
result := ReadString(setting)
else if func = 'WriteString' then
else if func = 'WriteInteger' then
else if func = 'DeleteValue' then
else if func = 'DeleteKey' then
do u understand what I'm wanting 2 achieve? from this function? an all in 1 Registry Function that works with just 1 line of code to call it.
please could u solve this problem for me, I've done 80% of it, just need the others adding.