For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > August 2004 > How to use getURL to get the Internet Data









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to use getURL to get the Internet Data
ssunderk

2004-08-20, 6:57 pm

I'm new to PB and I need to access a URL get the response back in the code. I'm using the following code. Could someone help me why isn't that working.

Inet iinet_base
iinet_base = CREATE Inet
InternetResult data
data = CREATE InternetResult
integer k
k = iinet_base.GetURL("http://www.yahoo.com", data)
MessageBox("result",string(data))

Is this the correct way to get Internet data? Any examples as how we can get the data from URL would be helpful.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com