JSThePatriot 18 Posted May 19, 2005 I have tried to read registry values to no avail. They have only been returning empty strings. I dont know what is going on here. This used to work.I am using AutoIt v3.1.1.34I have tried my own code then out of curiosity I have tried the code from the helpfile. Here is the code from the helpfile.RegEnumVal()$var = RegEnumVal("HKEY_LOCAL_MACHINE\SOFTWARE\HiddenSoft\AutoIt3", 1) MsgBox(4096, "First Value Name under in AutoIt3 key", $var) $var = RegEnumVal("HKEY_LOCAL_MACHINE\SOFTWARE\HiddenSoft\AutoIt3", 2) MsgBox(4096, "Second Value Name under in AutoIt3 key: ", $var)This is what I have tried with the RegEnumVal()MsgBox(0, "Test VNC Password", _GetVNCPass()) Func _GetVNCPass() Local $s_Encrypted, $s_Decrypted $s_Encrypted = RegEnumVal("HKLM\Software\ORL\WinVNC\Default", 16) Return $s_Encrypted EndFuncRegRead() from the helpfile works, but when I try the following code it doesnt.MsgBox(0, "Test VNC Password", _GetVNCPass()) Func _GetVNCPass() Local $s_Encrypted, $s_Decrypted $s_Encrypted = RegRead("HKLM\Software\ORL\WinVNC\Default", "Password") Return $s_Encrypted EndFuncPlease show me my error as I would bet it is between me and the keyboard.I really hope this isnt an id10t error on my part. :-PJS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites
JSThePatriot 18 Posted May 19, 2005 Okay figured it out. I was missing a 3...RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default", "Password")Thanks,JS AutoIt LinksFile-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.ComputerGetInfo UDF's Updated! 11-23-2006External LinksVortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Share this post Link to post Share on other sites