Autor Beitrag
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 10.09.05 22:42 
Moin!

So, hier die Lösung, wenn du applikationsrelativ speichern willst:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
var
  Form1: TForm1;
  datum: String;
  zaehlen: Integer;
  SpeicherDatum: TIniFile;
  Path,              // 'DATA\Schuld.syi';
  PathDatum,         // 'DATA\Datum.syi';
  PathDatei: String; // 'DATA\Datei.syi';


implementation

// [...] Zeilen rausgelassen

procedure TForm1.FormCreate(Sender: TObject);
Var
  LoadList: TStrings;
  i, ActPos, PrevPos: Integer;

Const
  Delimitter = #14;

begin
  Path := ExtractFilePath(Application.ExeName)+'DATA\Schuld.syi';
  PathDatum := ExtractFilePath(Application.ExeName)+'DATA\Datum.syi';
  PathDatei := ExtractFilePath(Application.ExeName)+'DATA\Datei.syi';


restschuld.Lines.LoadFromFile(Path);
Edit1.Text :=  restschuld.Text;
//-----------------ListView load------------

cu
Narses
thbi Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 70

Mac OS X 10.4, WIN XP Prof.
D 4 Prof, D 7 Pers, xcode
BeitragVerfasst: Sa 10.09.05 22:53 
Hey THX!!! Jetzt funzt es!!!

Herzlichen Dank an alle!!! Noch ne Gute Nacht!!



Mfg thbi

_________________
Wenn du etwas wirklich gern hast , dann lass es frei, kommt es zu dir zurück gehört es dir, kommt es nicht zurück, dann hat es dir nie gehört...
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 10.09.05 22:55 
Moin!

Dann markier doch bitte den Thread noch als gelöst. Danke. :wink:

cu
Narses