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.Code: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
Results 1 to 11 of 11
Thread: Friend Delete program
Threaded View
- 06 Apr. 2011 06:40pm #1
Friend Delete program