Autor Beitrag
Cybo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 87

Win 95/98/xp/NT Suse Linux
D7 Ent
BeitragVerfasst: Do 26.08.04 20:13 
Hi, ich suche eine Methode, die das Datum abspeichert, wann das Programm gestartet wurde
Das Datum und die aktuelle Uhrzeit auszulesen ist ja auch kein Problem, aber wie kann ich es abspeichern, ohne es als variable auszugeben. Ich möchte nämlich, dass die Daten alle untereinander gelistet werden´und wenn ich nun mit einer Var arbeiten würde, könnte ich ja auch imemr nur ein Datum speichern.

Kann mir jmd. helfen?

Cybo

_________________
Ich öffnete, kompilierte und traute meinen Augen nicht.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 26.08.04 20:24 
Nimm einfach ne simple TStringListbox.

Speichern: SaveToFile
Laden: LoadFromFile
Wert Lesen: AlterWert := Values['Name']
Wert setzen: Values['Name'] := NeuerWert

Musst dich dort aber selbst um die Typumwandlungen kümmern.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Cybo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 87

Win 95/98/xp/NT Suse Linux
D7 Ent
BeitragVerfasst: Do 26.08.04 20:37 
ich bin gerade etwas ratlos... etwas detailiertet vielleicht?
Meine Delphi Hilfe lässt mich nicht weiterkommen :(

Cybo

_________________
Ich öffnete, kompilierte und traute meinen Augen nicht.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 26.08.04 21:13 
Scheiß Schreibfehler ...

Meinte TStringList anstatt von TStringListbox ...
Alles andere sollte sich dann in der Delphi-Hilfe finden :D

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Cybo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 87

Win 95/98/xp/NT Suse Linux
D7 Ent
BeitragVerfasst: Do 26.08.04 23:47 
BenBE hat folgendes geschrieben:
*mist* Schreibfehler ...

Meinte TStringList anstatt von TStringListbox ...
Alles andere sollte sich dann in der Delphi-Hilfe finden :D


danke, jetzt spuckt die hilfe nützliches aus :-)

Cybo

_________________
Ich öffnete, kompilierte und traute meinen Augen nicht.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Fr 27.08.04 14:12 
wenn die frage beantwortet ist, markier das thema bitte auch entsprechend :wink:
ab obersten beitrag findest du einen haken. draufklicken und gut *G*

_________________
Patrick
im zweifelsfall immer das richtige tun!!!