Well i have my httpWrapper and all and and when i ask it to go between the source code it gives me an error or it posts the html
Results 1 to 9 of 9
Thread: VB.NET Username Grabber Help
- 29 Aug. 2011 04:56pm #1
VB.NET Username Grabber Help
- 29 Aug. 2011 07:09pm #2
- 29 Aug. 2011 09:37pm #3
This one : Wrappers.rar
- 29 Aug. 2011 10:29pm #4
What code are you using that produces the error?
- 30 Aug. 2011 09:33am #5
I used 2 different Codes:
Code:If wrapper.Post("http://www.gaiaonline.com/profiles/", Username) Then Dim UserID As String = wrapper.Between(strHTML, "<title>Viewing", "#039;s profile") Label5.Text = "Username: " & UserID End If
This one has an error with the "[GET]" Because i tried Bradley's method and it didn't work but in the wrapper both Chad's and Bradley's they had it in cause i went through it
Code:Dim UNG As String UNG = wrapper.Between([Get], ("http://www.gaiaonline.com/profiles/", "/", Username, "/") Label5.Text = "Username:" + UNG
- 30 Aug. 2011 11:56am #6
Neither of those are going trth. Function parameters are separated by commas, so in your first code you're trying to go to:
Code:http://www.gaiaonline.com/profiles/
Code:If wrapper.Post("http://www.gaiaonline.com/profiles/" + Username) Then
The syntax for your second block of code is just plain wrong. That has no chance of working - I don't know what you were trying to achieve.
- 30 Aug. 2011 11:59am #7
- 30 Aug. 2011 12:04pm #8
I told you to replace the comma with a plus sign. You're not even going to a user's profile page.
- 30 Aug. 2011 05:19pm #9
Well now i fixed the Profile url and all cause i made an if statement to show a message box if it contains tittle viewing ect but it all comes back to the http wrapper
This is the error : "Object reference not set to an instance of an object."
And it highlights This code in the wrapper(By chad): "If Input.Length > 0 AndAlso Start.Length > 0 AndAlso [End].Length > 0 AndAlso Offset < Input.Length Then"