Results 1 to 2 of 2

Thread: Need some help with the registry

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Bergen, Norway
    Posts
    143
    Hi.

    I need some help here.
    Im trying to get a value out of the registry and post it in a text box and also make a text box where the user can enter a new value for the key.
    My problem is that the current value (made by another program) is in hex and I need that to be changed so the user can view it in decimal and not in Hex and then change back again when done editing the key.

    anyone out there that can help me?
    tried to read some tutorials from this site (and others) but they didn't help much.

    Thanks anyway


    -Lumin

  2. #2
    New Member
    Join Date
    Mar 2000
    Location
    Kamloops BC Canada
    Posts
    7

    Hex to Decimal to Hex Conversion

    Hi

    Assuming you have access to the reg key already, you could write a function using the subtraction or division method to convert from hex to decimal and convert it back when you are done. What you want to do with the decimal answer, I don't know.

    An explanation of the conversion methods can be found in the Lecture #3 notes on Binary Math, at:

    methodshttp://members.tripod.com/giftakis/c253lect3.html

    [Edited by d_yard on 04-01-2000 at 12:09 AM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width