Autor Beitrag
K.S.M.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Windows 7 Professional
Delphi 2010, HTML, JavaScript, CSS, PHP, ein wenig C, Flash ActionScript 2.0/3.0, SQL, Assembler
BeitragVerfasst: Di 02.10.07 14:41 
Hallo,

ich möchte in meinem Programm eine Dateig im Startmenü unter "Programme" (bzw. "Alle Programme") einfügen.

Wie schaffe ich es, dass Delphi den Ordner (Standardmäßig "C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\...") selbst findet?

Vielen Dank für Hilfe!

_________________
"Programmieren ist keine Kunst. Programmieren ist eine Fähigkeit!"
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 02.10.07 15:45 
Suche im MSDN GETSPECIALFOLDERLOCATION IIRC. Such hier im Forum mal nach Programme-Verzeichnis, da findeste nen Link zur Gesamtbeschreibung.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
K.S.M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 82

Windows 7 Professional
Delphi 2010, HTML, JavaScript, CSS, PHP, ein wenig C, Flash ActionScript 2.0/3.0, SQL, Assembler
BeitragVerfasst: Mi 03.10.07 15:57 
Ich glaube, meine Frage ist zu schlecht gestellt :oops:

Ich meine, wenn man das Programm auf einem beispielsweise englischen Computer ausführt, dann ist der Ordner bestimt nicht "C:\Dokumente und Einstellungen\...". Es gibt doch so einen String auch für den Windows Ordner (ich glaube
ausblenden Delphi-Quelltext
1:
'%windows%\...'					

oder so ähnlich). Gibt es auch so einen String der den "Programme"-Ordner aufruft?

_________________
"Programmieren ist keine Kunst. Programmieren ist eine Fähigkeit!"
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 03.10.07 16:37 
Siehe hier: support.microsoft.com/kb/194702

Übersetzung der nötigen Sources finden sich auch hier im Forum ...

Edit: hier

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.