![]() | Type | Description | ||
| Object as ExShellObject | A reference to the ExShellObject being selected. |
The following VB sample prevents opening a zip file ( which is considered a folder item ):
Private Sub ExShellView1_ObjectSelect(ByVal Object As EXSHELLVIEWLibCtl.IExShellObject)
If Object.Name Like "*.zip" Then
ExShellView1.CancelObjectSelect
End If
End Sub