Knowledge Base

ShellBrowser .NET Components

Question / Problem

Is there a way to set the root path that the ShellTreeView displays?

Answer / Solution

You can either set a special windows folder by setting the RootedAt property:

shellTreeView1.RootedAt = Jam.Shell.ShellFolder.Desktop;

Or at your option, you can specify a system path the ShellTreeView component will display:

shellTreeView1.RootedAtFileSystemFolder = @"c:\windows";