Registry Keys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NSF12345
    New Member
    • Aug 2006
    • 21

    #1

    Registry Keys

    I have been having a play with registry keys to save settings. I have been able to save settings with this code:

    SaveSetting "MyProg", "Settings", "FormHeight ", form.height

    and retrieve settings with this code:

    form.height = GetSetting("MyP rog", "Settings", "FormHeight ")

    But i was wondering if there was a similar way to delete a registry key, something along the lines of:

    DeleteSetting "MyProg", "Settings", "FormHeight "

    Let me know if you can help
  • dshaw65563
    New Member
    • Sep 2006
    • 4

    #2
    Just give your save settings a null value.
    SaveSetting "MyProg", "Settings", "FormHeight ", ""

    Comment

    Working...