Jump to content

Registry Keys Are Anoying...


Recommended Posts

Func RegistryWriteDir()
    msgbox(0,"input",GUICtrlRead($DirWinInput))
    RegWrite("HKEY_CURRENT_USER\Software","Rad",-1,GUICtrlRead($DirWinInput))
    msgbox(0,"registry",RegRead("HKEY_CURRENT_USER\Software","Rad"))
EndFunc

Why doesnt this work? I got the first message box to say "Blahblah", but then the second one is ""... I dont really understand it (at all) it should work though, shouldnt it?

Link to comment
Share on other sites

Oh thanks I didnt know what those meant and it doesnt say (Or I overlooked them), besides they were [optional] and usually -1 is default which I figured would be fine... guess not because it works now! :think:

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...