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.

Nächste Zeile einlesen

Empfohlene Antworten

Veröffentlicht

Guude,

ich wiedermal :D

ich lese anhand vom FileSystemObject über readline sätze aus einer datei aus.

meine frage is nu:

wie kann ich der funktion mitgeben, das sie die nächste zeile auslesen soll?

bin für alle vorschläge offen... :)


    Dim fso As Scripting.FileSystemObject Dim ts


    Set fso = CreateObject("Scripting.FileSystemObject")

    Set ts = fso.OpenTextFile(PATH, ForReading)

    Do While Not ts.AtEndOfStream

        If ts.ReadLine = UID Then

            ????

            If ts.ReadLine = frmPwd.txtPwd.Text Then ReadAndCompare = True

        End If

    Loop

    ts.Close

danke und greetz

Mjolnir

Hier mal ein Beispiel:


Dim FSO as Scripting.FileSystemObject

Dim TS as Scripting.TextStream

Dim ReadLine as String

Set FSO = new FileSystemObject

Set TS = FSO.OpenTextFile("Datei.txt", ForReading, False)


Do Until TS.AtEndOfStream

      ReadLine = TS.ReadLine

      'Hier wird in einer Schleife Zeile für Zeile gelesen...

      MsgBox ReadLine

Loop

TS.close

mfg byte

yo, danke erstmal für die antwort.

warn bischen verpeilt (wird zeit, das es WE gibt :D )

jetzt hab ichs so, wie ichs haben will.

Greetz

Mjolnir

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.