why would you want to? I never really thought you could. Or would want to. When you could do it your self bu selecting Run in the start menu, and typing regedit.exe, or what ever yours is depending on your OS. Also dont edit reg. Unless you are completely sure of what your doing. We jsut had a case here ont he board were an adult lost his mouse, keyboard, dh, and floppy drive on such a simple but hard to fix mistake. (=, good luck bro!.
Dim readValue As String
readValue = My.Computer.Registry.GetValue _
("HKEY_CURRENT_USER\TestKey", "TestValue", Nothing)
Messabebox.shwo("The value is " & readValue)
Niki Skay
Last edited by nikiskay; Jul 23rd, 2011 at 4:11 pm. Reason: color tag comes in my code bigin
Dim readValue As String
readValue = My.Computer.Registry.GetValue _
("HKEY_CURRENT_USER\TestKey", "TestValue", Nothing)
MsgBox("The value is " & readValue)
change registry values
Dim autoshell = My.Computer.Registry.LocalMachine.OpenSubKey("Software\Microsoft\Windows NT\CurrentVersion\Winlogon", True)
'' Set the value to 0
autoshell.SetValue("autorestartshell", 0)
autoshell.Close()
some time registry programs make virus ex. changing explorer.exe path
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.