I am trying to pull data from the registry and output in into a text box on a form. I have the pull part:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim readValue As StringreadValue =
My.Computer.Registry.GetValue _(
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "DhcpDomain", Nothing)How do I display the readValue in a text box or label Thanks for any help. I know it should be easy.

Help with simple task...get data from registry into a text box on a form
gdev
Form1.Textbox1.Text = ReadValue
will put the contents of string Readvalue into a textbox called textbox1 on a form called Form1.
Stick this in the Form load after you have retrieved the value and you should be good.
donnie100