Changing a value in the registry to a negative number

  • Thread starter Thread starter koldskaal
  • Start date Start date
K

koldskaal

I am making a Windows media center hosted HTML application. To enable
debugging I turned to MSDN. They tell me following:

....Although this feature is useful for identifying and fixing problems
with applications on an end user's computer, it can interfere with the
debugging process. To disable this feature while debugging, set the
following registry key to a negative number.
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Media
Center\HangDetectionTimeout
I have no experience in altering register Keys manually. But I have
come so far that I have found the value, and it has following values
type: REG_BINARY
data: 73 6e c5 43
When I click the name a pop up occurs with following value data:
000 73 6E c5 43 snÅC
It is not possible to enter the minus sign (-), and I am not sure that
would solve the problem. Any Ideas how to change 000 73 6E c5 43 snÅC
to a negative value?
 
Hi,

The numbers are hex values, not decimal (base 10). To have a negative value
(assuming this is a signed value), the leading number must be 8 or higher (8
through F).

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org

I am making a Windows media center hosted HTML application. To enable
debugging I turned to MSDN. They tell me following:

....Although this feature is useful for identifying and fixing problems
with applications on an end user's computer, it can interfere with the
debugging process. To disable this feature while debugging, set the
following registry key to a negative number.
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Media
Center\HangDetectionTimeout
I have no experience in altering register Keys manually. But I have
come so far that I have found the value, and it has following values
type: REG_BINARY
data: 73 6e c5 43
When I click the name a pop up occurs with following value data:
000 73 6E c5 43 snÅC
It is not possible to enter the minus sign (-), and I am not sure that
would solve the problem. Any Ideas how to change 000 73 6E c5 43 snÅC
to a negative value?
 
Dear Roger!

Thanks for your quick reply. I have to have it spelled out.

you wrote: To have a negative value
(assuming this is a signed value), the leading number must be 8 or
higher

will that turn 73 6e c5 43 into 08 6e c5 43 ???
 
Hi,

Not quite. You stated that the value is:

73 6E c5 43

This is hex code, so a negative value would be:

83 6E c5 43

The "8" translated to binary is 1000, and in a signed binary number a
leading "1" indicates a negative value. A "7" is 0111, and the leading "0"
indicates a positive (or possibly zero) value.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 
Back
Top