autoitxp Posted July 9, 2009 Share Posted July 9, 2009 (edited) Hello ! im using Comodo proactive Defence it look up registry keys. my question is when i run my application it try to set registry key in RUN path. if i press Block at my comodo proactive defence it blocks and pop up Blocked msg comes offcourse $reg set to 0. I wanted to ask at least 3 times user allow my application if he refuse then it should not ask again but at least 3 times i wanted to ask user to allow application how to do that ? Local $Reg = RegWrite("HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN", "myfile", "REG_SZ", "c:\myfile.exe") Do if $Reg = 0 Then MsgBox (0 , "" , "Blocked !") EndIf Until $Reg = 1 Edited July 9, 2009 by autoitxp Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now