property ExFolderCombo.OpenedFolder as Variant
Retrieves or sets an object that indicates the current opened folder.

TypeDescription
Variant A variant expression that specifies a folder (either a path name or a value from an ID property).

Retrieves or sets the new opened folder. The property accepts a path or an ID value. For instance, the following sample shows how to set the opened folder to C:\Temp:

ExFolderCombo1.OpenedFolder = "C:\Temp"

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