method ExShellObject.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 object's context menu. Use the InvokeRename method to rename an object at runtime. Use the Get(SelectedItems) method to retrieve the selected objects in the current view.

Here's the list of the identifiers for some known items in the object's context menu :

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

Private Sub ExShellView1_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyF2 Then
        ExShellView1.Objects.Get (SelectedItems)
        With ExShellView1.Objects
            If (.Count > 0) Then
                .Item(0).InvokeCommand ("Properties")
            End If
        End With
    End If
End Sub