Data from web page to text box in app?

I saw a program (RAPGET) that downloads a file from RapidShare for a given link?

I like to create a program like this that gets the weather forecast information from a web page and needs to be displayed in a textbox in vb6?

0


a source to share


2 answers


You can call a web service from VB6. Here's an easy way to "do it.



Or you can ncheck the answers to this previous SO question.

+2


a source


You can use the winHttp component that comes with winxp and above. It comes as a package called BITS [Background Intelligent Transfer Service]. Using this, you can make calls to Http and Ftp servers. Thus, this will allow your VB6 application to act as an HttpClient that will receive data from the weather server.

Second, the server. You should know in what format you receive data from the server. Is this plain text ?, Soap? or XML? once you define the data transfer format, you can fetch data from the server using winHttp and parse it in your application and extract the data you want.



Thanks.

+1


a source







All Articles