New topic: Calling Web Services in shown event of the Default Page
<http://forums.realsoftware.com/viewtopic.php?t=47467> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message JohnV Post subject: Calling Web Services in shown event of the Default PagePosted: Mon Apr 01, 2013 11:39 am Joined: Sun Jan 28, 2007 2:38 pm Posts: 211 I am using a third party service to Geolocate the City of the user: I am testing a simple label on the page to DIsplay the city and state: Its called on the shown event of the label. dim myString as string dim mycity as string dim myst as string Dim http As New HTTPSocket http.Yield = True myString=http.Get("http://calltomyGeoProvider", 30) mycity=NthField(myString,",",5) myst=NthField(myString,",",3) me.text=mycity+" "+myST MyString Returns The correct information: US,"United States",NV,Nevada,"Las Vegas",36.1440,-115.0323,839,702,America/Los_Angeles,NA,89142,"Macminicolo.net, LLC","Macminicolo.net, LLC",,"AS23005 SWITCH Communications Group LLC",Corporate,residential,999,80,15,16,10, However the Load hangs 3 out of 4 time with the "loading progress bar at 75% How do I sort out the load IP traffic voodoo? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
