Martin2k Forums

Board index Visual Basic VB.NET

[SOLVED] [vb2008] New empty file?

Ask questions about all versions of Visual Basic.NET (2002, 2003, 2005, 2008 & 2010) or anything to do with VB.NET programming.

[SOLVED] [vb2008] New empty file?

Postby Dummy1912 » Thu Apr 29, 2010 5:12 pm

hello,

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 :(

thanks

Dummy1912
User avatar
Dummy1912
Fair user
 
Posts: 25
Joined: Mon Apr 26, 2010 12:28 pm

Return to VB.NET

Who is online

Users browsing this forum: No registered users and 1 guest