Jump to content
Sign in to follow this  
Syed23

RegRead Function

Recommended Posts

Syed23

Hi Friends,

I am using "RegRead" function to read the registry value and where it reads the value as Binary. But i need to get the value as Hexa Decimal value. Is there a possibility to read the HexaDecimal value instead Binary... Posted Image

$var = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\LanguageResources","UILanguage")

msgbox(0,"",$var)

Thanks you,

Regards,

K.Syed Ibrahim.


Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font]

Share this post


Link to post
Share on other sites
enaiman

The value you read is decimal.

$var = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\LanguageResources","UILanguage")
msgbox(0,"",Hex($var))

All you need to do is "Hex" the value.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites
Syed23

The value you read is decimal.

$var = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\LanguageResources","UILanguage")
msgbox(0,"",Hex($var))

All you need to do is "Hex" the value.

Wow.... Thanks a lot.... It's working seems Posted Image...

Thank you,

Regards,

K.Syed Ibrahim.


Thank you,Regards,[font="Garamond"][size="4"]K.Syed Ibrahim.[/size][/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.