Computer Science Canada How to add Registry values in VB? |
Author: | Ashi_Mashi2 [ Thu Mar 17, 2005 7:27 pm ] |
Post subject: | How to add Registry values in VB? |
Hi, I am new to visual basic, and i need to add a registry value to the 'HKEY_LOCAL_USER..." how do you do it? i scanned through many websites, but they were too professional....if you could please explain it very basic to me...thanks... |
Author: | Tony [ Thu Mar 17, 2005 9:34 pm ] |
Post subject: | |
if you're new to a language, you shouldn't be messing with registry values right away. Play with some buttons first, get to know what you're doing. |
Author: | Brightguy [ Fri Mar 18, 2005 8:54 pm ] | ||
Post subject: | Re: How to add Registry values in VB? | ||
Yeah, Tony's right... but if you just want your application to store a few values...
This will create a string value in HKEY_CURRENT_USER\Software\VB and VBA Program Settings\appname\section. It's more complicated if you want to save somewhere else, or to something other than a string. (Use Win API functions.) |
Author: | Ashi_Mashi2 [ Sun Mar 20, 2005 7:19 pm ] | ||
Post subject: | |||
thanks guys....i told you i'm new, but not that new ....lol....anyway, i found a way to do it ...I still dont quiet understand what it is doing (cause i got the code from another website) but, it works anyway...
|
Author: | betaflye [ Wed Apr 20, 2005 6:28 pm ] |
Post subject: | |
It's basically an API call, if you want more goodies like that just install MSDN library. |