Discussion Locked

VB6 Code for Registry

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

When I look up the codes on MSDN for access the windows registry, it does give me some code examples for the statements, but doens't make them very clear. Can someone show me the code for reading from the following registry value?

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ActiveComputerName

Name: ComputerName

3 replies

by madestroitsolutions

I have the complete code for accessing and modifying the registry. It's a bit long though since it is done through API calls, so I cannot post it here, but e-mail me at: juanja01@optonline.net and I will send it to you right away. After you receive the code don't forget to come back here and rate my answer!

by bristar

It was a little more than I actually needed, but I was easily able to modify the code once I figured out what it was doing. Thanks!

This discussion is closed to new replies.