Srinivasan MK
Srinivasan MK

Reputation: 801

Data from web-page to a text box in application?

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

I like to design a program like this which gets the information about weather-forecast from a web-page and it should display in the textbox in vb6?

Upvotes: 0

Views: 1340

Answers (2)

DOK
DOK

Reputation: 32831

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

Or you can ncheck out the replies to this previous SO question.

Upvotes: 2

this. __curious_geek
this. __curious_geek

Reputation: 43207

You can use winHttp component that ship with winxp and above. It ships as a package called BITS [background intelligent transfer service]. Using this you can make calls to Http and Ftp servers. So this will enable your VB6 application to act as an HttpClient which will receive the data from the weather server.

Second thing is the server. You must know in which format you are getting the data from the server. Is it plain text ?, Soap ? or XML ? once you identify the format of data transport you can receive the data from the server using winHttp and parse them in your application and fetch the desired data.

Thanks.

Upvotes: 1

Related Questions