FAQ & Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Kategorien: ShellBrowser .NET Components | Alle Kategorien anzeigen

Die folgenden Inhalte sind leider 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.