method ExShellFolder.InvokeCommand (CommandName as String)
Invokes a specified command from the object's context menu.

TypeDescription
CommandName as String A String expression that indicates the name of the command being executed.
The InvokeCommand method executes a command from the folder's context menu. Use the InvokeRename method to rename a folder at runtime. Use the SelectedFolder property to get the selected folder in the control.

The following VB sample displays the object's Properties dialog, when the user presses the F2 key:

Private Sub ExFolderView1_KeyDown(KeyCode As Integer, Shift As Integer)
    If (KeyCode = vbKeyF2) Then
        ExFolderView1.SelectedFolder.InvokeCommand ("Properties")
    End If
End Sub