Hallo habe ein Problem und zwar wenn man in Textbox1 eine Internetseite eingibt, soll er dies in der Registry speichern. Dies tut er aber nicht, dort steht dann utner wert nichts! Was hab ich falsch gemacht ? lg oli
Quellcode
- Dim pk = Registry.CurrentUser.CreateSubKey("software\microsoft\windows\currentversion\explorer\shell folders\" + My.Application.Info.ProductName)
- Registry.SetValue(pk.ToString, "Startseite", TextBox1.Text, RegistryValueKind.String)
- MsgBox("Einstellungen wurden übernommen.", MsgBoxStyle.Information, "Browserinformation")
- Me.Close()