I used Chris's HttpWrapper it's in Releases.
You need A:
Textbox
2 labels
1 Button
Lable 2 will be the one that shows you the Username
and Label 1 will just be on top of the textbox Saying " UserID: "
anyways here is the code:
Code:Public Wrapper as new HTTPwrapper public strHTML as stringDOWNLOAD!Code:strHTML = Wrapper.Get("http://www.gaiaonline.com/profiles/" + TextBox1.Text) Dim UserNM As String UserNM = Wrapper.Between(strHTML, "<title>Viewing ", "&") Label2.Text = "Username :" + UserNM
Results 1 to 9 of 9
Thread: [ VB.NET ] ID to Username
-
09-13-2011 06:45 PM #1Je suis le professeur de français à Thomas
- Join Date
- May 2010
- Location
- France, Paris
- Posts
- 1,848
- Rep
- 148
[ VB.NET ] ID to Username
-
09-14-2011 01:33 AM #2
-
09-14-2011 03:54 PM #3Je suis le professeur de français à Thomas
- Join Date
- May 2010
- Location
- France, Paris
- Posts
- 1,848
- Rep
- 148
-
09-18-2011 05:16 PM #4
Or, instead of loading the whole (heavy) profile page, use GSI method #606, which requires entering the user's ID.
-
09-19-2011 08:08 PM #5
-
09-19-2011 08:27 PM #6Je suis le professeur de français à Thomas
- Join Date
- May 2010
- Location
- France, Paris
- Posts
- 1,848
- Rep
- 148
-
11-13-2011 12:17 PM #7Je suis le professeur de français à Thomas
- Join Date
- May 2010
- Location
- France, Paris
- Posts
- 1,848
- Rep
- 148
-
11-13-2011 03:17 PM #8
GSI methods used by Gaia are something like:
http://w w w . gaia online .c o m/chat/gsi/index.php?&v=json&m=[["method number",["parameter 1","parameter 2",...]]]
Method numbers are integers between 1 and 10000 (I guess), and parameters are ... specific parameters used by the specific method that gives a certain information about a part of the site.
Example:
http://www.gaiaonline.com/chat/gsi/index.php?v=json&m=[[102,[50006]]] (GSI method #102) => It gives informations about a user using his used ID (the parameter, which is in our case: 50006).
-
11-13-2011 09:40 PM #9Je suis le professeur de français à Thomas
- Join Date
- May 2010
- Location
- France, Paris
- Posts
- 1,848
- Rep
- 148



Reply With Quote



Bookmarks