DeleteSetting Query

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter

    DeleteSetting Query

    I've just used the registry SaveSetting option for the first time & thought
    I'd give my users the option to remove entries if they wish but although
    DeleteSettings remove the keys & sections it leaves the program name. Is
    there any easy way to remove this too or is it up to the user to hack it
    out?

    TIA


    --
    Peter
    To err is human but it takes a computer to really mess things up!


  • Raoul Watson

    #2
    Re: DeleteSetting Query


    "Peter" <gammaNO@SPAMbl ueyonder.co.uk> wrote in message
    news:z1e2e.2175 3$XH5.4828@fe1. news.blueyonder .co.uk...[color=blue]
    > I've just used the registry SaveSetting option for the first time &[/color]
    thought[color=blue]
    > I'd give my users the option to remove entries if they wish but although
    > DeleteSettings remove the keys & sections it leaves the program name. Is
    > there any easy way to remove this too or is it up to the user to hack it
    > out?
    >[/color]

    You can write the code to manually remove the registry entry. Is not a big
    deal and once you're used to it, you'll find handling the creation and
    deletion of keys more controlable.

    For some sample code, you can visit numerous VB coding sites. Here is one
    from Karl Peterson:



    Comment

    Working...