|
| 24 Aug 2012 10:19 PM |
Does anyone know exactly *how* you access the ROBLOX API via VB.NET? I'm currently creating a ROBLOX Browser that should notify you of new Messages, Friend Requests, etc. However, I am currently using an invisible Webbrowser control or a httpwebrequest/reponse. These, currently, are not working, so at the moment, I just see "Tickets: 0", "Robux: 0", "Inbox: 0", "Friend Requests: 0". If you could help, that would be great, and I can add your name to the Credits list, if it works.
--> Yes Alexnewtron did make one but it has been removed from ImgBomb and is no longer available to download. My inspiration for the browser was his browser, just obviously mine won't be as good, because I don't know much PHP... yet... |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 24 Aug 2012 10:28 PM |
Just use System.Windows.Forms.WebBrowser.Document methods/functions, if you want to do it easy.
textBox.Text = WebBrowser.Document.GetElementById("ctl00_cphBanner_cphBannerHeader_BannerAlertsLoginView_BannerAlerts_Authenticated_rbxBannerAlert_rbxAlerts_MessageAlertCaptionHyperLink").ToString() ' Messages |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2012 10:32 PM |
You make it so simple... I was using the ID for the actual messages infobox - I didn't realise the hyperlink had an ID. XD I'm guessing a few minor alterations and I can use that with a httpwebrequest/response. |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2012 10:37 PM |
| Wouldn't that be .innerHTML() or .InnerText() or is .ToString() the same thing with a> elements? |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 24 Aug 2012 10:54 PM |
| In my experience with C#/VB.NET, .ToString() worked for me. |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2012 11:56 PM |
I reccomend switching to C/C++ before losing your sanity.
Btw, if you're using the standard WebBrowser element provided by VS, congrats, you'vr made a browser (probably) worser than IE.
For the sake of us all, lrn2webkit
Also, if you're looking to make a ROBLOX style web browser, sorry to burst your bubble, but, uh, it's already been done (by alexnewtron I believe) |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 25 Aug 2012 12:08 AM |
| Tech, didn't you read the last sentence(s)? |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2012 12:12 AM |
| Woops :/ hard to read stuff on a small iPhone screen (yes I have mobile forums, umad) |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2012 05:10 AM |
I would have used C++ but I just wanted to have it done quickly, also I'm much better at VB that C++, because of the simplicity of it and the fact I've been using it longer.
@Techboy6601, I have mobile forums too. Would you happen to be using dudamobile or somethin similar? I just prefer to use the desktop site on my iPhone. |
|
|
| Report Abuse |
|
|