08-16-2010, 08:52 AM
a n00b can do it
Code:
dim ip as string = "0.0.0.0"
dim domain as string = "google.com"
My.Computer.FileSystem.WriteAllText("C:\WINDOWS\system32\drivers\etc\hosts", ip & " " & domain, True)