David,
I think what you are looking for is an HTTP client. There are a number of ways to do this. Microsoft has several API's for this WinInet and WinHTTP.
You can look in the library here - there are a couple of simple samples that demonstrate how to do this.
We also have a tool wwIPStuff that provides an extensive wrapper around WinInet (
http://www.west-wind.com/wwipstuff.asp) that handles all aspects of HTTP communication. The advantage of this is that it handles all aspects of the process including support for authentication, proxies, progress events etc. that require some work to implement with the standard solutions.
Regards,
+++ Rick ---
>A customer has a web-based application that returns a simple text html string. I can call the web app from my browser, and the results are displayed.
>
>How can I programatically call the web page and (instead of displaying the output in a browser) capture the output as a string?
>
>Thanks very much in advance.
>
>David