setRegistry question
Klaus Major
klaus at major-k.de
Wed Feb 21 08:22:44 EST 2007
Hi Michael,
> Hello,
>
> I have a couple fields with vars and trying to input the vars into
> a setRegisty line. var2 inputs the dword data correctly to the
> registry. But var1 just creates the key named as "var1" not
> inputing the fld data. Anyone have a pointer on how this is
> accomplished, very grateful for your help.
>
>
> put field fdl1 into var1
>
> put field fld2 into var2
>
> get setRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Package\var1
> \Version",var2)
looks like you supply an incorrect string to the function.
Try:
get setRegistry("HKEY_LOCAL_MACHINE\SOFTWARE\Package\" & var1 &
"\Version",var2)
> Thanks
>
> Michael
Best
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list