Friend Delete program
As Christian requested, I am trying to make a friend deleter for Gaia, and that's what I put in VB.NET:
I was wondering how I could load the HTMLcode1 (where values are replaced) in the current WebBrowser, and if there is another way to do it.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WebBrowser1.Navigate("www.gaiaonline.com")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebBrowser1.Navigate("www.gaiaonline.com/friends")
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim HTMLcode, HTMLcode1 As String
HTMLcode = WebBrowser1.DocumentText
HTMLcode1 = HTMLcode.Replace("flag;", "true;")
HTMLcode1 = HTMLcode.Replace("Remove Friend", "True")
RichTextBox1.Text = HTMLcode1
End Sub
End Class
I was wondering how I could load the HTMLcode1 (where values are replaced) in the current WebBrowser, and if there is another way to do it.