Home All Groups Group Topic Archive Search About

Displaying Registry values in Visual Basic

Author
23 Mar 2006 3:16 PM
Jeff
I am trying to get a registry value and display it within a Visual Basic
program.  I'm able to get the value, but can't get it to display in the form
automatically.

Does anyone know how to get a registry value to display within a visual
basic form by clicking a button?

Thanks.  Jeff

Author
23 Mar 2006 3:43 PM
Ken Halter
"Jeff" <J***@discussions.microsoft.com> wrote in message
news:03F59B5C-52E2-44EC-BADA-93A8879E5BFD@microsoft.com...
>I am trying to get a registry value and display it within a Visual Basic
> program.  I'm able to get the value, but can't get it to display in the
> form
> automatically.
>
> Does anyone know how to get a registry value to display within a visual
> basic form by clicking a button?
>
> Thanks.  Jeff

Even better.....

Complete Registry control
http://www.vbaccelerator.com/home/VB/Code/Libraries/Registry_and_Ini_Files/Complete_Registry_Control/article.asp

Check out the small chunks of sample code on that page. It's very easy to
use.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Author
23 Mar 2006 5:09 PM
Jeff Johnson [MVP: VB]
"Jeff" <J***@discussions.microsoft.com> wrote in message
news:03F59B5C-52E2-44EC-BADA-93A8879E5BFD@microsoft.com...

>I am trying to get a registry value and display it within a Visual Basic
> program.  I'm able to get the value, but can't get it to display in the
> form
> automatically.

"Automatically"? Are you a big user of data binding or something? Because
very few things will every be displayed "automatically"; you usually have to
DO something to make them display, like setting the Text or Caption property
of a control.