brindelin
asked on
How to open a web page and save it as txt?
I assume this is a very easy question to answer and I saw a similiar one already but that didn't seem to do the trick for me.
Basically I want to open a site like below and then do a File-> Save Page(Save Page as in Mozilla) and set it as a text file.
http://www.stephen.com/prices.txt
That is it, I've been able to start a web page using System.Diagnostics.Process .Start and I tried
using the WebBrowser object and navigating to it but I couldn't figure out what do after that.
Just want something simple.
Basically I want to open a site like below and then do a File-> Save Page(Save Page as in Mozilla) and set it as a text file.
http://www.stephen.com/prices.txt
That is it, I've been able to start a web page using System.Diagnostics.Process
using the WebBrowser object and navigating to it but I couldn't figure out what do after that.
Just want something simple.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry forgot to say that you needed to Import System.IO as well
then you won't require the qualifier IO. just Stream would do
then you won't require the qualifier IO. just Stream would do
ASKER
Thanks again.