When i load a the file from
- Code: Select all
My.Computer.Registry.ClassesRoot.CreateSubKey("txtfile\shell\open\command").SetValue("", Application.ExecutablePath & " ""%1"" ", Microsoft.Win32.RegistryValueKind.String)
and when i click new in the mainmenu in mine form
i create a new child with a richtextbox in it. to load a new file
but when i do that i get the My.Computer.Registry.ClassesRoot. again in mine richtextbox
and not a empty richtextbox.
i even try richtextbox.clear but then nothing happing even not the code from above here it's stays empty.
anybody know's how to empty this.
i know it's a little blur but i can't explain it so good