generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: VB.NET: Accessing the API

Previous Thread :: Next Thread 
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
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 is not online. 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
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
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
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
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 is not online. 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
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
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 is not online. 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
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
25 Aug 2012 12:12 AM
Woops :/ hard to read stuff on a small iPhone screen (yes I have mobile forums, umad)
Report Abuse
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image