DeleteSetting help for newbie 
Author Message
 DeleteSetting help for newbie

I hate to bother everyone with such simple questions, but I have found no
help in VB5 help or by searching DejaNews.

My question is:  How can I delete a specific registry key using
DeleteSetting?

Could someone please be so kind as to give me an actual line as to how it
should appear?  I'm such a newbie!  I don't understand what I should put for
"AppName"  Please excuse my ignorance.  VB5 Popup help says it should be in
the format "DeleteSetting(AppName As String, [Section], [Key])"

If my reg entry is (for example):
HKEY_LOCAL_MACHINE\SOFTWARE\Cthugha\Cthugha-4-Winamp

1) What should the values for DeleteSetting(AppName As String, [Section],
[Key]) be?

PLEASE, talk to me as if I were an idiot, as when it come to VB I am!


Thank you all ever so kindly :)



Tue, 15 May 2001 03:00:00 GMT  
 DeleteSetting help for newbie
Hi there,

AppName is for the  a Keys under Visual Basic only, for
other areas use API calls

HKEY_LOCAL_MACHINE\SOFTWARE\Visual Basic\Lottery\
HKEY_LOCAL_MACHINE\SOFTWARE\Visual Basic\MyControl

SubKey is one of the Keys under AppName   AppName\SubKey
HKEY_LOCAL_MACHINE\SOFTWARE\Visual Basic\Lottery\Winner
HKEY_LOCAL_MACHINE\SOFTWARE\Visual Basic\Lottery\Looser

Key is one of the Keys under the AppName\SubKey\Key
HKEY_LOCAL_MACHINE\SOFTWARE\Visual Basic\Lottery\Winner\Fred
*HKEY_LOCAL_MACHINE\SOFTWARE\Visual
Basic\Lottery\Winner\Dave

DeleteSetting( "Lottery" , "Winner", "Dave")



Wed, 16 May 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help Using Deletesetting with my own Ini files

2. Invalid procedure Call when using Access95 DeleteSetting

3. DeleteSetting Question

4. deletesetting

5. DeleteSetting...What am I doing wrong?

6. DeleteSetting

7. deleteSetting gives error in vb4/16

8. Bug in DeleteSetting function

9. DeleteSetting in vb4/16 Syntax Error

10. DeleteSetting: Does this work in VB?

11. DeleteSetting Woes (VB4)

12. SaveSetting and DeleteSetting calls

 

 
Powered by phpBB® Forum Software