setRegistry Dword -hex value?

runrev260805 at m-r-d.de runrev260805 at m-r-d.de
Wed Aug 19 18:34:52 EDT 2009



The script lines look like this

 put "HKEY_CURRENT_USER\Software\DameWare Development\NT Utilities\DNTU\DWRCC Settings\Connect To Client\Port0" into tKey2  
    get  setregistry(tKey2, tHex, "dword")
    put it

-------- Original Message --------
Subject: setRegistry Dword -hex value? (20-Aug-2009 0:25)
From:    runrev260805 at m-r-d.de
To:      runrev260805 at m-r-d.de

> Hi,
> 
> i need to create a key in the registry and enter a hex value.
> 
> I tried it now in several ways, but always without success.
> 
> I use the following commands, which do not work. The value of Port 0 after 
> that is 32463731 (hex) or 843462449 (decimal).
> 
> 
> put "17f2" into tHex
> 
> put "HKEY_CURRENT_USER\Software\DameWare Development\NT Utilities\DNTU\
> DWRCC Settings\Connect To Client\Port 0" into tKey 
> 
> get setregistry(tKey2,tHex,"dword")
> put it
> 
> 
> Tried also 0x000017f2. But then i got "invalid dword-value (32-bit))"  in 
> the value field of Port 0.
> 
> Trying to put the decimal value 6130 into Port 0, shows a deciaml value of 
> 808661302 in Port 0.
> 
> In all case it reports True.
> 
> What am i doing wrong?
> 
> Regards,
> 
> Matthias
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 
> 
> To: use-revolution at lists.runrev.com





More information about the use-livecode mailing list