Help with Windows Registry

xbury.cs at clearstream.com xbury.cs at clearstream.com
Thu Aug 11 08:18:53 EDT 2005


Michael

it is in hex so you have to read it as a hex (if the value is larger than 
9, a-f will not make sense 
in decimal notation...

so yes, you need to read it, convert it to hex (via baseconvert for 
example)and then put it into the field
for editing. 

Reverse the line above to write it... 

cheers
Xavier

use-revolution-bounces at lists.runrev.com wrote on 11/08/2005 13:59:09:

> Hello
> I've run into getting the hexadecimal data from the windows registry. I
> need to pull the Value Data from a Dword Value but I just get a "0". I'm
> trying this:
> put queryRegistry("HKEY_LOCAL_MACHINE\CurrentControSet\Control
> \IDConfigDB\Alias\0001\ProfileNumber\")into field tNum 
> Do I need to convert this Value Data since its Hexadecimal or can the
> value be read and placed into a field without conversion ?
> Any help with this would be great 
> MichaelD
> 
> _______________________________________________
> 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



-----------------------------------------
Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list