Frame Inhalt aus WebBrowser auslesen ?

bossi

Erfahrenes Mitglied
Hi,
ich habe ein Quellcode gefunden in dem alle Lins ausgelesen werden.
Ich möchte nicht die Links, ich möchte den Inhalt eines Frames auslesen.
Code:
Private Declare Function ShellExecute Lib "shell32.dll" _
                                    Alias "ShellExecuteA" _
                                    (ByVal hwnd As Long, _
                                    ByVal lpOperation As String, _
                                    ByVal lpFile As String, _
                                    ByVal lpParameters As String, _
                                    ByVal lpDirectory As String, _
                                    ByVal nShowCmd As Long) _
                                    As Long

Private Const SW_SHOWNORMAL = 1

Private Sub Command1_Click()
    Dim obj     As Object

    For Each obj In WebBrowser1.Document.Links
        Text1.Text = Text1.Text & obj & vbCrLf
    Next
End Sub

Private Sub Form_Load()
    WebBrowser1.Navigate "http://google.de"
End Sub
gebe ich aber nun bei Form_Load() diese adresse ein:
http://de.selfhtml.org/html/frames/anzeige/frames.htm sind keine Links vorhaden.
Und ich möchte nicht die Links der seite, sondern den Textinhalt also :
HTML:
Navigation
Über Frames
Über HTML
Noch viel mehr

bye
bossi
 
Zurück