篇文章描述如何获得IE浏览器当前网页的HTML文档。
Create a console application in any version of Visual Studio using .Net version 1|2|3|3.5.
Add two Com object references which will allow us to manipulate IE.
用 Visual Studio 的任意版本建立一个控制台程序。
添加2个COM对象引用用来操作IE
Note the code sample below does not require the using directive for the objects, so just add the code as is.
Then find the instances of IE and extract the documen...[ 查看全文 ]