Autor Beitrag
5M17H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164

XP, Vista32, bald auch Vista64
PHP(3/5), Delphi(2), Java(1), C(3), C#(1)
BeitragVerfasst: Di 03.07.07 12:23 
ausblenden Meine konfig.ini
1:
2:
3:
4:
5:
6:
7:
[Konfiguration]
Einträge=3
[1]
ProgrammTitel=Turbo Delphi
Trennungszeichen= - 
ProgrammLaufZeit=20000
Formatierung=%pN%PN%DN

Im zusammenhang mit dem Projeckt hier habe ich ein Problem.
Wie kann ich aus einer InI Datei einträge löschen.
ausblenden Das Funktioniert auchnicht
1:
2:
3:
4:
konfig.DeleteKey(inttostr(i), 'ProgrammTitel');
konfig.DeleteKey(inttostr(i), 'ProgrammLaufZeit');
konfig.DeleteKey(inttostr(i), 'Trennungszeichen');
konfig.DeleteKey(inttostr(i), 'Formatierung');

Warum auch immer das nicht Funktioniert...

[edit]
funktioniert doch irgendwie

Moderiert von user profile iconmatze: URL korrigiert
5M17H Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 164

XP, Vista32, bald auch Vista64
PHP(3/5), Delphi(2), Java(1), C(3), C#(1)
BeitragVerfasst: Di 03.07.07 22:27 
Also ein problem währe da noch...
Wie lösche ich auch die 'Aktenkennung' also "[1]" ??
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 03.07.07 22:45 
Moin!

TIniFile.EraseSection() :roll: Schonmal in die DOH geschaut? :les: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.