Autor Beitrag
Svenkan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55

WinXP
Delphi 7 Enterprise
BeitragVerfasst: So 04.03.07 19:53 
Hey Leute!
Ich möchte in meinem Programm verschiedene Einstellungen in *txts speichern bzw. abrufen lassen.
Da ich allerdings noch nicht so viel Erfahrung habe und die Delphi-Help mir nicht allzugroßen Aufschluss gibt wollte ich fragen, ob ihr ein einfaches Beispiel evtl für mich hättet?


Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am So 04.03.2007 um 19:19
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: So 04.03.07 20:51 
Hallo

eine Möglichkeit wäre Inifiles, damit wäre vieles einfacher als mit reinen Textdateien.
Beipsiele dazu dfindest du genug im Forum, auf tutorialSeiten wie z.b. hier oder du schaust mal in der Hilfe zu Tinifile, dort sind auch komplette Beispiele hinterlegt.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Svenkan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55

WinXP
Delphi 7 Enterprise
BeitragVerfasst: Mo 05.03.07 18:47 
Herzlichen Dank!
Ich werds nachher mal direkt ausprobieren. :)
BM_90
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 49



BeitragVerfasst: Mo 17.12.07 15:10 
moin! wollte mal anfragn, obs hingehaun hat, hab nämlich das selbe problem, aber aber von dem inizeugs keine ahnung...
Alpha_Wolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 297

Ubuntu, Win XP, Win Vista
C#, Delphi 6 Prof, Delphi 2007 Prof, Java
BeitragVerfasst: Mo 17.12.07 16:16 
@BM_90

Wo hast du denn Probleme? Für konkrete Fragen könntest du ja ein extra Thread aufmachen.

Zum abrunden des Themas das Tutorial zu Inis und Delphi hier aus der EE:
Benutzung von INI-Files (INI-Dateien)

_________________
Diskutiere nie mit einem Irren - er zieht dich auf sein Niveau und schlägt dich mit seiner Erfahrung.
BM_90
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 49



BeitragVerfasst: Mo 17.12.07 17:35 
vielen dank, hat sich aber schon erledigt, werde es mit .txt datein machen.
Atreyu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137


Delphi 7 Enterprise
BeitragVerfasst: Di 18.12.07 11:31 
Wobei ich INI Files wesentlich einfacher und besser strukturiert finde. Ein einer TXT gehts auch, ist aber nicht so praktisch.
BM_90
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 49



BeitragVerfasst: Di 18.12.07 11:42 
Naja, kann schon sein. Muss ich mal gucken. Bin bei Delphi noch ziemlich grün hinter den Ohren...
Atreyu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137


Delphi 7 Enterprise
BeitragVerfasst: Di 18.12.07 12:34 
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Di 18.12.07 13:37 
Solche "Einführungen" gibt es auch hier bei uns in der Delphi-Library!

Benutzung von INI-Files (INI-Dateien)
Dateizugriff mit Delphi
Ini-Dateien

... viel Stoff zum lesen und lernen. :-)

Lg, Martin

_________________
Ein Nutzer der Ecke ;-)
BM_90
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 49



BeitragVerfasst: Do 03.01.08 16:44 
Hab es endlich auf die Reihe bekommen. Vielen Dank!!!