Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Installationspfad (https://www.delphipraxis.net/72162-installationspfad.html)

Privateer3000 26. Jun 2006 15:14


Installationspfad
 
Hi Leutz,

wie stellt man es an die Pfad für txt,ini usw. Dateien herauszufinden.
Das wäre für bsp. Befehle wie LoadFromFile, wenn später das Programm
sonstwo installiert wird.
Kann man also "nachgucken" in welchem Pfad sich gerade das Programm befindet?

Lg
Privateer

CG2003 26. Jun 2006 15:15

Re: Installationspfad
 
Delphi-Quellcode:
ExtractFilePath(Application.Exename);
Hoffe, Dir geholfen zu haben.

Luckie 26. Jun 2006 15:17

Re: Installationspfad
 
Siehe dazu: http://www.michael-puff.de/Developer.../HOMEDIR.shtml

Privateer3000 26. Jun 2006 15:22

Re: Installationspfad
 
Vielen Dank Jungs!


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:15 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz