AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi Standardverzeichnisse: Ich brauche mal Eure Mitarbeit
Thema durchsuchen
Ansicht
Themen-Optionen

Standardverzeichnisse: Ich brauche mal Eure Mitarbeit

Ein Thema von emsländer · begonnen am 4. Sep 2007 · letzter Beitrag vom 4. Sep 2007
Antwort Antwort
Seite 3 von 3     123   
Benutzerbild von RavenIV
RavenIV

Registriert seit: 12. Jan 2005
Ort: Waldshut-Tiengen
2.875 Beiträge
 
Delphi 2007 Enterprise
 
#21

Re: Standardverzeichnisse: Ich brauche mal Eure Mitarbeit

  Alt 4. Sep 2007, 16:06
Code:
Programmordner: C:\Programme
Dokumentenordner: C:\Dokumente und Einstellungen\All Users\Dokumente
Anwendungsdaten: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten
Windowsversion: Microsoft Windows XP (version 5.1)
Servicepack: SP2
Windowslanguage: Deutsch (Deutschland)
Eigentlich ist "Deutsch (Schweiz)" als Regionseinstellung eingestellt.

Siehe die beiden Screenshots.
Miniaturansicht angehängter Grafiken
spracheinstellungen-2_183.jpg   spracheinstellungen-1_118.jpg  
Klaus E.
Linux - das längste Text-Adventure aller Zeiten...
Wer nie Linux mit dem vi konfiguriert hat, der hat am Leben vorbei geklickt.
  Mit Zitat antworten Zitat
Benutzerbild von emsländer
emsländer

Registriert seit: 21. Aug 2004
Ort: Lengerich
658 Beiträge
 
RAD-Studio 2009 Ent
 
#22

Re: Standardverzeichnisse: Ich brauche mal Eure Mitarbeit

  Alt 4. Sep 2007, 16:13
Zitat von Luckie:
Zitat von emsländer:
Jetzt fisch ich mir den Dokumentenordner aus der Registry:
Solltest du nicht tun: The long and sad story of the Shell Folders key

Zitat:
Once upon a time, in what seems like a galaxy far far away (a Windows 95 beta release known as "M3"), we documented a registry key called "Shell Folders" that programs could read to obtain the locations of various special folders like the Fonts folder or the My Documents folder.

The developers who received Windows 95 M3 Beta followed the documentation and used that key.

In the meantime, Windows 95 work continued, and we realized that a registry key was the wrong place to store this information. In part, because a lot of things (like the Control Panel) aren't disk directories so they wouldn't be expressible there. And in another part, because we had forgotten to take into account a feature of Windows NT called roaming user profiles, where your user profile can move around from place to place, so a hard-coded path in the registry is no good.

So we created the function SHGetSpecialFolderLocation, and updated the documentation to instruct developers to use this new function to obtain the locations of various special folders. The documentation on the old "Shell Folders" key was removed.
Schau Dir mal meinen Quellcode an! Das mache ich nur, wenn der "normale" Weg nicht klappt, mir also ein Leerstring geliefert wird. Oder hast ne andere Alternative? Betrifft ja nur 46.

Gruss

EL


Narben am Körper sind ein Zeichen dafür, das man gelebt hat.
Narben auf der Seele sind ein Zeichen dafür, das man geliebt hat.
  Mit Zitat antworten Zitat
Andreas L.
(Gast)

n/a Beiträge
 
#23

Re: Standardverzeichnisse: Ich brauche mal Eure Mitarbeit

  Alt 4. Sep 2007, 16:21
Zitat:
Programmordner: C:\Program Files
Dokumentenordner: C:\Users\Public\Documents
Anwendungsdaten: C:\ProgramData
Windowsversion: (version )
Servicepack:
Windowslanguage: Deutsch (Deutschland)
Win Vista 32bit Deutsch
  Mit Zitat antworten Zitat
Benutzerbild von BiBi
BiBi

Registriert seit: 30. Dez 2003
Ort: Regensburg
25 Beiträge
 
Delphi 7 Professional
 
#24

Re: Standardverzeichnisse: Ich brauche mal Eure Mitarbeit

  Alt 4. Sep 2007, 17:07
Zitat:
Programmordner: C:\Programme
Dokumentenordner: C:\Dokumente und Einstellungen\All Users\Dokumente
Anwendungsdaten: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten
Windowsversion: Microsoft Windows XP (version 5.1)
Servicepack: SP2
Windowslanguage: Deutsch (Deutschland)
Angaben stimmen.
----
BiBi
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 3 von 3     123   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:08 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