Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Tue Sep 06, 2005 10:03 am Post subject: HOWTO: Programmatically browse to a namespace extension with FileView.Net |
|
|
A developer can programmatically browse to a namespace extension with the CurrentFolder property of FileView as follows :
fileView1.CurrentFolder = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{4778AFE0-2289-11d0-8AEC-00A0C90C9246}"
Here the path is specified by joining the CLSIDs in the fully qualified path of the namespace extension. For example, if you want to browse to the root of the RegView namespace extension that comes with MSDN, the path specified for current folder is as follows :
"::{CLSID of 'My Computer'}\::{CLSID of RegView namespace extension}"
If a virtual folder is directly under the Desktop, you can simply use the CLSID for the folder. For example, to browse to the My Documents folders, use
fileView1.CurrentFolder = "::{450d8fba-ad25-11d0-98a8-0800361b1103}"; |
|