Autor Beitrag
lord.paddington
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 19.09.07 12:21 
Hallo!

Ich möchte auf eine Datei lesend zugreifen, die auf einem anderen PC liegt.

ausblenden Delphi-Quelltext
1:
memo1.lines.loadfromfile('\\172.48.24.53\Verzeichnis\Dateiname.txt');					



Die Datei liegt im Verzeichnis auf Laufwerk C:\

Warum will der Zugriff nicht klappen???


Danke


Moderiert von user profile iconjasocul: Topic aus VCL (Visual Component Library) verschoben am Mi 19.09.2007 um 13:04

_________________
pfutsch ist hin und hin ist pfutsch
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 19.09.07 12:34 
:nixweiss: Ich habe es mit Delphi 2006 und 2007 ausprobiert, da geht es. (Eine ältere Version hab ich hier gerade nicht zur Verfügung.)
Da das nicht im Profil steht bei dir: Welche Delphi-Version benutzt du?
lord.paddington Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 19.09.07 12:53 
Delphi 6

_________________
pfutsch ist hin und hin ist pfutsch
arj
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Mi 19.09.07 13:03 
Funktioniert es wenn du den Pfad in "Ausführen" startest?

Kann es die Firewall sein?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 19.09.07 13:11 
:nixweiss: Ich habe gerade Delphi 6 installiert und es ausprobiert... Ich kann so problemlos auf eine freigegebene Datei zugreifen. Versuch mal im Windows Explorer in die Adressleiste den Dateinamen \\172.48.24.53\Verzeichnis\Dateiname.txt einzugeben. Wenn das geht (also die Textdatei dann geöffnet wird), dann weiß ich auch nicht, warum das bei dir nicht geht.
lord.paddington Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 19.09.07 13:46 
...hmm...das Ausführen der Datei über START funzt...

Ich suche mal weiter!

_________________
pfutsch ist hin und hin ist pfutsch
lord.paddington Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 19.09.07 14:07 
Komisch...habe die Software noch einmal gestartet und nun löppt es...

_________________
pfutsch ist hin und hin ist pfutsch