property ExFolderView.SelectedFolder as Variant
Retrieves or sets the selected folder.

TypeDescription
Variant A Folder object that indicates the control's selected folder.
Use the SelectedFolder property to specify a new selected folder. Use the ShellFolder or SpecialFolderPath property to build an ExShellFolder object.

The following VB sample shows how to link a the drop down control with a EXFolderView control:

Private Sub ExFolderCombo1_NewFolderOpened()
    ExFolderView1.SelectedFolder = ExFolderCombo1.OpenedFolder
End Sub

The following C# sample shows how to link a the drop down control with a EXFolderView control:

private void axExFolderCombo1_NewFolderOpened(object sender, EventArgs e)
{
    axExFolderView1.SelectedFolder = axExFolderCombo1.OpenedFolder;
}

The following VB.NET sample shows how to link a the drop down control with a EXFolderView control:

Private Sub AxExFolderCombo1_NewFolderOpened(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxExFolderCombo1.NewFolderOpened
    AxExFolderView1.SelectedFolder = AxExFolderCombo1.OpenedFolder
End Sub

The following VC sample shows how to link a the drop down control with a EXFolderView control:

void OnNewFolderOpenedFoldercombo1() 
{
	if ( IsWindow( m_folderCombo.m_hWnd ) && IsWindow( m_folderView.m_hWnd ) )
		m_folderView.SetSelectedFolder( m_folderCombo.GetOpenedFolder() );
}

The following VFP sample shows how to link a the drop down control with a EXFolderView control:

thisform.ExFolderView1.SelectedFolder = thisform.ExFolderCombo1.OpenedFolder