0

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?

Charles
  • 50,943
  • 13
  • 104
  • 142
Srinivasan MK
  • 801
  • 2
  • 10
  • 20
  • Also, anybody know how the program RAPGET is designed? I am really excited after seeing that program! How can a desktop application get an information from a web-page? Its really mind-blowing. – Srinivasan MK May 23 '09 at 17:44

2 Answers2

2

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.

Community
  • 1
  • 1
DOK
  • 32,337
  • 7
  • 60
  • 92
1

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.

this. __curious_geek
  • 42,787
  • 22
  • 113
  • 137
  • Ok thanks, but Rapidshare doesnt send any xml files while using http get/post method. Its simply sends a html document. Since it uses php. I am a beginner to all these. Since i like to know? Anybody help me from a-z of these concepts? – Srinivasan MK May 24 '09 at 04:14
  • this might be a bad idea in a long run. As the majority of websites moved to https-only paradigm (where https often uses a too-new-for-vb6 encryption method), such approach will likely not deliver you with the desired pages, at least in absence of http<->https proxy server – TAbdiukov Dec 19 '19 at 09:42