So, to get 0x10 for a REG_DWORD value with the Base set to Hex you
type 10 into the Value data box in the Edit DWORD Value dialog. It
will display as 0x00000010 (16) in the right hand pane of regedit.
I looked for something that had that value in the registry that might
be the same on your machine, for example....
HKEY_CLASSES_ROOT\Folder\shell\open
Value Name: BrowserFlags
Data Type: REG_DWORD
Value Data: 0x00000010 (16)
or
[HKEY_CLASSES_ROOT\Folder\shell\open]
"BrowserFlags"=dword:00000010
Edit DWORD Value dialog picture
http://h30187.www3.hp.com/media/content/course/3972/resources/AdvWinXP04fg08.jpg
Value name:
[[Displays the current name of the value.
If you want to rename the value, click Cancel. Then click the name of
the key or value (be sure to click the name of the file and not its
icon), type the new name, and press ENTER.]]
Value data:
[[Provides a space for you to type the new data for this value.]]
Base:
[[Specifies whether you want the DWORD value to be based on
hexadecimal or decimal notation.]]
In computer science, a dword (double word) is a unit of data that is
twice the size of a word and half the size of a qword. On the x86
platforms, which have a wordsize of 16 bits, a dword unit of data is
32 bits long.
REG_DWORD
A 32-bit (4-byte) number. Boolean ("True" or "False", "0" is disabled
and "1" is enabled) values and many entries for device drivers and
services use this data type. REG_DWORD data can be displayed and
entered in hexadecimal or decimal format in the registry editor
Regedit.exe.
In
Ken Blake said:
Wesley Vogel wrote:
Hi Terry,
0x00 = 0
0x01 = 1
0x02 = 2
0x10 = 16 in decimal
To get 0x00, type 0 in the value data box.
To get 0x02, type 2 in the value data box.
To get 0x10, type 10 in the value data box.
Typo? You mean 16, I assume, not 10.
--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup
The result in regedit is '0x00000010 (16)'
0x00000010 is hexadecimal number, it equals 16 in decimal.
Open the Windows Calculator.
Click on the View menu.
Click Scientific.
Click the Hex radio button.
Type 10 in the window.
Click the Dec radio button.
You have just converted 10 (Hex) to 16 (Decimal)
Calculator HELP: To convert a value to another number system
Paste the following line into Start | Run and click OK...
hh calc.chm::/calc_number_system.htm
hexadecimal
A base-16 number system represented by the digits 0 through 9 and
the uppercase or lowercase letters A (equivalent to decimal 10)
through F (equivalent to decimal 15).
9 decimal = 9 hex
10 decimal = A hex
15 decimal = F hex
16 decimal = 10 hex
17 decimal = 11 hex
See the Binary | Decimal | Hexadecimal chart here...
http://whatis.techtarget.com/definition/0,,sid9_gci212247,00.html
In Terry Pinnell <
[email protected]> hunted and pecked:
In some MS instructions about modifying a registry key, I read
this: "Change the value of the REG_DWORD entry for this subkey to
one of following:
0x00
0x01
0x02
.
.
0x10"
Does that mean that for 0x10, for example, I actually enter 10 (or
0010, both give same result)?
The result in regedit is '0x00000010 (16)'