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.

Neues Problem: Datei öffnen / laden klappt nicht

Empfohlene Antworten

Veröffentlicht

Hallo,

danke für eure super Hilfe bisher immer, hab jetzt ein neues Problem:


Function OpenTextFileTest

   Const ForReading = 1, ForWriting = 2, ForAppending = 8

   Dim fso, f

   Set fso = CreateObject("Scripting.FileSystemObject")

   Set f = fso.OpenTextFile("U:\LisaJ_Scripte\adresse.txt", ForReading, True)

End Function

Sehe ich das richtig, das sich die Datei öffnen müsste?

Warum klappt das nicht?

Wo liegt der Fehler? :confused:

(Auf meine Fragen wegen dem Array komme ich später wieder zurück, ich hab mir meinen Programmablauf nur jetzt besser strukturiert und mache das ganze Schritt für Schritt bis zum Ziel! ;) )

Das FileSystemObject verwende ich sehr selten.

Ich würde die eine andere Methode vorschlagen:

Open <Pfad und Datei> For Input As #1



Do While Not EOF(1)

   Line Input #1, <String-Variable>


   <Deine weiteren Anweisungen; Also was du mit der Textzeile tun möchtest>

Loop


Close #1

Ich habe es jetzt nicht durch kompiliert. Lies am Besten noch die Hilfe dazu. Auch wegen dem Verständis. So weißt da was auch passiert ;)

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.