property ExFileView.ExploreFromHere as String

Specifies the root folder for the control.

 TypeDescription 
   String A string expression that indicates the folder's path that's the root of the control.  

By default, the ExploreFromHere property is "C:\". The ExplorerFromHere property specifies the root folder for the control. The ExploreFromHere property changes the BrowseFolderPath property. The BrowseFolderPath property retrieves or sets the browsed folder path. The ExpandFolders property retrieves or sets a value that indicates whether the control expands the folder objects. Use the IncludeFolders property to exclude folders from the current list. Use the HasButtons property to hide or show the + buttons. Use the IncludeFilesInFolder property to include files when expanding a folder. Use the Expand method to programmatically expand a folder giving its path. Use the Add method to add rules to highlight the files and folders in the control. 

The following VB samples browses the "c:\temp" folder:

ExFileView1.ExploreFromHere = "c:\temp"

The following VB samples browses the "Desktop" folder:

ExFileView1.ExploreFromHere = "::{00021400-0000-0000-C000-000000000046}"

The following VB samples browses the "My Network Places" folder:

ExFileView1.ExploreFromHere = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"

The following VB samples browses the "My Computer" folder:

ExFileView1.ExploreFromHere = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"

The following C++ samples browses the "Desktop" folder:

m_fileview.SetExploreFromHere( "::{00021400-0000-0000-C000-000000000046}" );

The following VB.NET samples browses the "Desktop" folder:

With AxExFileView1
    .ExploreFromHere = "::{00021400-0000-0000-C000-000000000046}"
End With

The following C# samples browses the "Desktop" folder:

axExFileView1.ExploreFromHere = "::{00021400-0000-0000-C000-000000000046}";

The following VFP samples browses the "Desktop" folder:

With thisform.ExFileView1
    .ExploreFromHere = "::{00021400-0000-0000-C000-000000000046}"
EndWith
 


Send comments on this topic.
© 1999-2008 Exontrol Inc, Software. All rights reserved.