By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,548 Members | 1,162 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,548 IT Pros & Developers. It's quick & easy.

How do I retrieve some data from a web page from a .NET C++ program

P: 2
I like to retrieve some data from a web page (for example some stock quotes from a stock quote page) from a .NET C++ program.
How do I do it? It seems that I have to submit a javascript from the .NET C++ program to retrieve the data, How is this done?
Oct 11 '16 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 5K+
P: 5,387
huh - that sounds more like an adventure then planned development.

basically u would only call the website with curl or whatever mechanism u prefer at ur server and then parse its response (most likely) with the help of a DOM- or XML-parser. if the data is not available on a simple pageload - then it might be that you would need to check what exact requests on the page deliver the data - and simply curl (read: retrieve) that ones. if authentication plays a role in all this - it will be probably much more complex then what i did suggest up to here.
Oct 11 '16 #2

P: 2
Thank you gits! How do I call a DOM-parser of XML-parser? Where can I find a DOM-parser or XML-parser?
Oct 11 '16 #3

Expert Mod 5K+
P: 5,387
i am pretty sure that u find something that u can use directly from the '.NET universe' - probably called XmlReader or similar, personally i dont use any microsoft things - so i cannot say exactly.
Oct 11 '16 #4

Post your reply

Sign in to post your reply or Sign up for a free account.