... does not works ! Seems it uses other keys of windows Any help ? Tks Romeo/Zingoni ***** FUNCTION SETTAREG( cDir , cFile , cAutoSave ) LOCAL oRegoReg:=TReg32():New( HKEY_CURRENT_USER , "SOFTWARE\PDFCreator\Program" ) oReg:Set( "UseAutosave" , cAutoSave ) oReg:Set( "UseAutosaveDirectory" ...
oReg:= TReg32():New(HKEY_LOCAL_MACHINE, Key1,lShowError) cInfo:= oReg:Get(Name,valore) MsgInfo(cInfo,"Delivery 1" ) oReg:Set(Name,valore) oReg:Close() It seem to run ok Now the problem is on some computer the variable ...
Yo uso PDFCreator modificando los valores en el registro antes del TPrinter: oreg := treg32():New(HKEY_CURRENT_USER,"Software\PDFCreator\Program",.f.) oreg:set('AutosaveFilename','Acuse_Pedido_'+trimstr(nencargo)+'.PDF') oreg:set('AutosaveDirectory', ...
... and I saw We can set the application into Registry of Windows on this page http://www.pctools.com/guides/registry/detail/113/ With the command oREg:set we can set the value Sample : If I insert 3 applications : Winword.exe Excel.exe Powerpoint.exe the test I made insert on registry only the ...
I must insert a value into registry oReg := TReg32():New(HKEY_CURRENT_USER, Key) oReg:Set(Name,valore) but here it not run because not found the variable into registry what is the command to say " IF NOT FOUND THE name of variable create ...