Leave a Reply

1 comment

  1. In line 9:

    Dim postData As String = “log=” & TextBox1.Text & “&pwd=” & TextBox2.Text & “wp- submit=Log+In&redirect_to=””http://csvlife.com/wp-admin/” & “&wordpress_test_cookie=1”

    The parameters to be sent with the post need to be separated with an ampersand, as written the password parameter has “wp- submit=Log+In&redirect_to=http://csvlife.com/wp-admin/” appended to it.

    Assuming wp is a parameter:
    Dim postData As String = “log=” & TextBox1.Text & “&pwd=” & TextBox2.Text & “&wp- submit=Log+In&redirect_to=””http://csvlife.com/wp-admin/” & “&wordpress_test_cookie=1”