Autor Beitrag
Airwolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 92



BeitragVerfasst: Fr 16.02.07 18:09 
Hi Leut's,

Wie kann ich das Programm herausfinden lassen an welchem Pfad es sich befindet? Am besten auf ne Weise das der Pfad in nem String gespeichert wird, sodass ich ihn weiter in Pfadangaben verwenden kann.

Habe schon mit ParamStr(0) und ExtractFilePath rumexperimentiert, hat aber beides keinen Erfolg gebracht.

Danke
freedy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 403
Erhaltene Danke: 1

Winows 7
Delphi XE
BeitragVerfasst: Fr 16.02.07 18:12 
Hi!

Schonmal Application.ExeName probiert?

Gruß


Zuletzt bearbeitet von freedy am Fr 16.02.07 18:12, insgesamt 1-mal bearbeitet
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 16.02.07 18:12 
ausblenden Delphi-Quelltext
1:
ExtractFilePath(ParamStr(0))					


Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Airwolf Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 92



BeitragVerfasst: Fr 16.02.07 19:05 
Hmm, war ja einfach....
Hätte mir ja auch mal selber einfallen können beides miteinander zu verbinden....


Funzt, Programm fertig...... cool :D

Danke


P.S. Hat irgendjemand Interesse an dem Programm?
Ist ne einfache Songetxtdatenbank, man kann Songtexte erstellen und sich anzeigen lassen.
Ist knapp 800KB groß.