Autor Beitrag
Dia
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 26



BeitragVerfasst: So 01.01.06 23:56 
Hallo,

hab da ein kleines Problem. Ich möchte, dass mein Programm mir das Verzeichnis, in dem es gespeichert ist, in einem Edit anzeigt.

Hat da jemand eine Idee. Ich habe nämlich keine.

Danke!

Gruß Claudia
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: So 01.01.06 23:58 
ausblenden Delphi-Quelltext
1:
Edit1.Text := ExtractFilePath(Application.Exename);					
Muetze1
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 346



BeitragVerfasst: So 01.01.06 23:58 
sollte unter CLX nicht anders sein:
ausblenden Delphi-Quelltext
1:
Edit1.Text := ExtractFilePath(Application.ExeName);					


ansonsten noch:
ausblenden Delphi-Quelltext
1:
Edit1.Text := ExtractFilePath(ParamStr(0))					

_________________
49 63 68 68 61 62 65 6B 65 69 6E 65 41 68 6E 75 6E 67 21
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: Mo 02.01.06 00:02 
Falls du in dem Programmpfad irgendwelche Eintsellungen speichern möchtest,
ist davon abzuraten... siehe hier
Dia Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 26



BeitragVerfasst: Mo 02.01.06 00:15 
Funktioniert prima.

Danke!