23-10-2013, 07:57 PM
شكرا لك .
ممكن طريقة لأجل أضيف قيمه من نوع reg_expand_sz
ممكن طريقة لأجل أضيف قيمه من نوع reg_expand_sz
PHP كود :
begin
R := TRegistry.Create;
r.RootKey := HKEY_LOCAL_MACHINE;
try
if not R.OpenKey('software\Myvalue', True) then
RaiseLastOSError;
R.WriteString('ValueName', 'value');
R.WriteString('ther Value Name' ,'Some other value');
finally R.Free;
end;
end.

