locked
How to view source? RRS feed

  • Question

  • What is the code for viewing source of the webrowser.
    Like, if I want to see the source of the opened page in web browser, what code should I enter?
    Thursday, February 12, 2009 9:32 AM

Answers


  •  
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.ObjectByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted  
            MessageBox.Show(WebBrowser1.DocumentText)  
        End Sub 
     



    Compensating what I don't know yet, with what I do know now.
    • Marked as answer by Yichun Feng Wednesday, February 18, 2009 1:06 AM
    Thursday, February 12, 2009 9:52 AM