setRegistry question

Michael D. dweeble at wi.rr.com
Wed Feb 21 12:56:21 EST 2007


Klaus
Yes my string was incorrect, thanks works great, bump on head from banging 
head will now get smaller.
Michael
----- Original Message ----- 
From: "Klaus Major" <klaus at major-k.de>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Wednesday, February 21, 2007 7:22 AM
Subject: Re: setRegistry question


> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution 




More information about the use-livecode mailing list