|
-
Jun 12th, 2006, 09:14 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Changing a Registry Entry through code?
Is there anyway to change a registry entry through visual basic.net code? I know the registry entry's name I just want to modify its data/source (I have a string registry). I may sound confusing right now so if I am please tell me. I will clarify.
"Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!
"Thinking of you, wherever you are
We pray for our sorrows to end, and hope that our hearts will blend.
Now I will step forward to realize this wish.
And who knows, starting a new journey may not be so hard…
Or maybe it has already begun.
There are many worlds, but they share the same sky
one sky, one destiny..."
-
Jun 12th, 2006, 09:16 PM
#2
Re: [2005] Changing a Registry Entry through code?
You use the Microsoft.Win32.Registry and .RegistryKey classes to access the registry in .NET apps. In VB 2005 you can also use the My.Computer.Registry object, but that's little more than an alias for Microsoft.Win32.Registry class anyway.
-
Jun 12th, 2006, 09:17 PM
#3
Thread Starter
Hyperactive Member
Re: [2005] Changing a Registry Entry through code?
"Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!
"Thinking of you, wherever you are
We pray for our sorrows to end, and hope that our hearts will blend.
Now I will step forward to realize this wish.
And who knows, starting a new journey may not be so hard…
Or maybe it has already begun.
There are many worlds, but they share the same sky
one sky, one destiny..."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|