Knowledgebase

status_loader
Die folgenden Inhalte sind nicht auf Deutsch verfügbar.

Setting a specific path

Frage / Problem

I'm setting the Path property of e.g. the ShellListView to a constant value like "c:\windows" when developing my application, is there a better way?

Antwort / Lösung

If you cannot be sure, that the path exists thoughout different systems, it is better to use the SpecialFolder than to explicitly set a path.

The ShellFolders have a similar function than environment variables, allowing you to specify a known location, whatever path might be associated with it on a customer's system.

Brauchen Sie weitere Hilfe?

Keine passende Antwort gefunden? Kontaktieren Sie uns, damit wir Ihre Frage beantworten können.

Kontaktformular