Knowledgebase

status_loader

Setting a specific path

Question / 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?

Answer / Solution

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.

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form