28-09-12, 07:59 PM
PHP كود :
Form 1 Load:
dim hosts as string = "c:\windows\system32\drivers\etc\hosts"
Richtextbox1.LoadFile(hosts,RichtextboxStreamtype.Plaintext)
Block button:
Richtextbox1.Appendtext(Environment.Newline + "127.0.0.1 " + textbox1.text)
Save Button:
dim filetocreate as string = "c:\windows\system32\drivers\etc\hosts"
Richtextbox1.LoadFile(filetocreate ,RichtextboxStreamtype.Plaintext)
