Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB: HTML-Frameset auslesen

Empfohlene Antworten

Hallo miteinander,

folgendes Problem: Ich will den Quelltext einer Hauptseite eines Framesets auslesen. Um das zu schaffen, habe ich mir gedacht, ich lese einfach das Frameset der Seite aus und Suche nach dem target Befehl.

Jetzt aber meine Frage, wie greife ich, wenn ich Internet Explorer als Objekt geöffnet habe, auf den Frameset direkt zu?

IX.Document.frames.length 'So erhalte ich die Anzahl der Frames

IX.Document.childnodes(1).innerhtml 'Manchmal erhalte ich den Quellcode des Frameset,

                                    'manchmal den eines Frames,je nach Ladedauer!?!

Danke bereits im voraus für Eure Mithilfe

Arnie

Hi,

wenn die Adresse des MainFrames immer dieselbe ist kannst Du auch direkt eine Verbindung zu dieser Seite mit dem Internet Transfer Control aufnehmen mittels

strCode = Inet1.OpenURL("www.heise.de",0)

strCode enthält nach dem Aufruf den gesamten HTML-Code der Seite.

Meinst Du so?

PeliWeli

Original geschrieben von PeliWeli

strCode = Inet1.OpenURL("www.heise.de",0)

Funktioniert bei mir irgendwie nicht wirklich.

Dim IX As InternetExplorer

IX.Navigate2 "http://www.test.de

While IX.Busy

        DoEvents

Wend

'Und hier schau ich, ob es sich um ein Frameset handelt

If IX.Document.Frames.length > 0 Then

   'Hier will ich dann die einzelnen Frames ausgeben zur Auswahl

   (...)

Else

   (...)

End If

So, hoffe, dass es jetzt ein wenig klarer wurde ;-). Suche sozusagen einfach nur den Quelltext des Framesets.

MfG Arnie

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.