D
Desmond Cassidy
Hi,
I have being trying to get a grip of HTML data manipulation and am using the mshtml class and System.Net to retriver HTML pages.
Now as far as I can see, one can read HTML in different ways.
1. Using the WebBrowser and loading the HTML into the mshtml.HTMLDocument class and then step through the various tags (input, a), tables etc.
2. Use System.Net.WebRequest/Response to load the data into a HTML string using a Stream Reader.
Now there are times when I want to use the WebBrowser as it is handy for user input (and maybe show the user what is going on) and other times a more convenient method is to use the System.Net.WebRequest/Response metods.
However, I cannot for the life of me see how one can LOAD up an mshtml.HTMLDocument object with a plain HTML string that I may have got from using the System.Net.WebRequest/Response ....and vice versa...
Any clues ??
Cheers
I have being trying to get a grip of HTML data manipulation and am using the mshtml class and System.Net to retriver HTML pages.
Now as far as I can see, one can read HTML in different ways.
1. Using the WebBrowser and loading the HTML into the mshtml.HTMLDocument class and then step through the various tags (input, a), tables etc.
2. Use System.Net.WebRequest/Response to load the data into a HTML string using a Stream Reader.
Now there are times when I want to use the WebBrowser as it is handy for user input (and maybe show the user what is going on) and other times a more convenient method is to use the System.Net.WebRequest/Response metods.
However, I cannot for the life of me see how one can LOAD up an mshtml.HTMLDocument object with a plain HTML string that I may have got from using the System.Net.WebRequest/Response ....and vice versa...
Any clues ??
Cheers