2010年1月30日 星期六

[VB.NET]取得WebBrowser框架内Html內容

取得webBrowser框架内Html內容
1.使用frame順序進行操作

        WebBrowser1.Document.Window.Frames(數字).Document.Body.InnerHtml


2.使用frame名稱進行操作

        WebBrowser1.Document.Window.Frames("文字").Document.Body.InnerHtml

沒有留言:

張貼留言