isolation Posted February 25, 2009 Posted February 25, 2009 (edited) Hi, I want to delete a "main key" in the registry, so I tried to use RegDelete ( "HKLM\SOFTWARE\aaaa") but it didn't work.... returns=0 I looked in the "Autoit help" RegDelete ("HKLM\SOFTWARE\aaaa","") .............but it didn't work.... returns=0 and RegRead("HKLM\SOFTWARE\aaaa","") didn' work, too. error = -1 Edited February 25, 2009 by isolation
Developers Jos Posted February 25, 2009 Developers Posted February 25, 2009 RegDelete ( "HKLM\SOFTWARE\aaaa") but it didn't work.... returns=0Works fine here.You are sure you have the rights to do this?What is the returncode and @error returned? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
isolation Posted February 25, 2009 Author Posted February 25, 2009 oh sorry I've done a mistake I intended to use this func Func _Rd($main,$val) return String(RegDelete($main,$val)) Endfunc RegDelete ( "HKLM\SOFTWARE\aaaa") seems to work but when $val="" doesn't work
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