delete registry do no work

Jeanne A. E. DeVoto revolution at jaedworks.com
Sun Apr 24 02:44:48 EDT 2005


At 11:01 PM -0500 4/23/05, Paul Salyers wrote:
>I'mm trying to get a button to delete a registry, but it gives an error:
>
>Type    Handler: can't find handler
>Object  Button
>Line    deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\")
>Hint    deleteRegistry

deleteRegistry is a function. You need to say:
   get deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\")
or
   put deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\") into myVar
rather than just
   deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\")
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list