hello
I tried to create a code that will scan the keys on each key and find all the values.
But to stop scanning and try to close the application, it gives an error, said that autorun.exe has had a problem and has had to close.
Other times in changing pages, get the same error.
How could fix it?
There any way to "cleanse" all the tables and code so that when finished look no error?
Thank you very much
example:
Code:function scan() tblKeys = Registry.GetKeyNames(HKEY_LOCAL_MACHINE, ""); if tblKeys == nil then else nCounter = 1; for i, Name in tblKeys do ---here Registry.GetValueNames... tblKey = Registry.GetKeyNames(HKEY_LOCAL_MACHINE, Name); if tblKey == nil then else nCounte = 1; for i, Nam in tblKey do ---here Registry.GetValueNames... tblKe = Registry.GetKeyNames(HKEY_LOCAL_MACHINE, Name.."\\"..Nam); if tblKe == nil then else nCount = 1; for i, Na in tblKe do ---here Registry.GetValueNames... --etc etc etc nCount = nCount + 1; end end nCounte = nCounte + 1; end end nCounter = nCounter + 1; end end end

Reply With Quote