Jump to content

Recommended Posts

Posted

Hi Guys,

I tried the following statement I keep getting errors:

If RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System",

"ConsentPromptBehaviorAdmin", "REG_DWORD") =00000000 Then

Return GUICtrlSetState(-1, $GUI_DISABLE)

EndIf

Basically I am trying to check if the registry area as described above has 00000000 and if so disable the button.

Posted

RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","ConsentPromptBehaviorAdmin")

[quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]

Posted

did you check the parameters for Regread() ? you have one too many.. :)

Bah, I fix it and you guys help.. haah, yeah I just got it working thanks a lot guys :P
Posted

Ok, do you guys know how to make it so that when I click a button that button become enabled? And when I click another button in that group the others because reenabled if they were disabled?

Posted

Ok, do you guys know how to make it so that when I click a button that button become enabled? And when I click another button in that group the others because reenabled if they were disabled?

GuiCtrlGetState()?

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
×
×
  • Create New...