|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
READING hex value in registryi've a DWORD hex value in the registry key.
i can read the key and write to event log, however it writes in "decimal" format. how can i ensure it is read as per hex format ? "James" <jkk***@hotmail.com> schrieb A DWORD has a value, but it does not have a format, so it's neither Hex nor> i've a DWORD hex value in the registry key. decimal. Strings do have a format. > i can read the key and write to event log, however it writes in value.ToString("X8")> "decimal" format. converts to a string in hex format. > how can i ensure it is read as per hex format ? The value is read. The value has no format.Armin James,
The integers.tostring("x") will convert the number to hexidecimal Ken -------------- Show quoteHide quote "James" <jkk***@hotmail.com> wrote in message news:OwFzc9fNGHA.3984@TK2MSFTNGP14.phx.gbl... > i've a DWORD hex value in the registry key. > > i can read the key and write to event log, however it writes in "decimal" > format. > > how can i ensure it is read as per hex format ? > > >
Help creating custom ComboBox control
Can opacity/transparency be adjusted within components? No tables visible in SQL Server connection Text Files Opacity Unable to open file Control Arrays Progress bar - No activity Basic How To Question: Class Library or Windows Control Library Splash screens / loading & unloading forms |
|||||||||||||||||||||||