Retrieving data from internet
-
I want to make a program that can connect to internet and use up to date information without having to manually enter that information. How do I retrieve information such as a text in a table cell from the IE browser? Can I do that without programmatically openning the browser and/or downloading the whole page?
-
I want to make a program that can connect to internet and use up to date information without having to manually enter that information. How do I retrieve information such as a text in a table cell from the IE browser? Can I do that without programmatically openning the browser and/or downloading the whole page?
What you're asking for is not that simple. I don't know how you would be able to retrieve information from the IE browser, but if you added a web browser component to a MFC dialog you might be able to get some information that way. Retrieving the text from a table cell is impossible without downloading the whole page. This is a restriction of HTML and HTTP. As for your other question "without opening the browser", yes you can download information from the net without opening a web browser but it would still have to act like a web browser. I can't remember the name at the moment but it is possible to use an API to download a website. Greba, My lack of content on my home page should be entertaining.
-
I want to make a program that can connect to internet and use up to date information without having to manually enter that information. How do I retrieve information such as a text in a table cell from the IE browser? Can I do that without programmatically openning the browser and/or downloading the whole page?
-
I want to make a program that can connect to internet and use up to date information without having to manually enter that information. How do I retrieve information such as a text in a table cell from the IE browser? Can I do that without programmatically openning the browser and/or downloading the whole page?
It will little easy if you know little bit of ATL. #1 you have two option either Use
URLDownloadToFile
Function to download the file(html,asp etc) or you can use raw WinInet api to get content of that page(you will find a wrapper class for that Here[^]) #2 now after getting the file, load that file inIHTMLDocument2
and parse the file as required by you.
"I Think this Will Help" [Vote One Here,.....]
visit me at http://www.thisisalok.tk
-
It will little easy if you know little bit of ATL. #1 you have two option either Use
URLDownloadToFile
Function to download the file(html,asp etc) or you can use raw WinInet api to get content of that page(you will find a wrapper class for that Here[^]) #2 now after getting the file, load that file inIHTMLDocument2
and parse the file as required by you.
"I Think this Will Help" [Vote One Here,.....]
visit me at http://www.thisisalok.tk