40:
We're looking for a control to show files, just like the eXShellView, but than we would like to specify the files themselves. Is that possible using your control

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.LargeIcons;
axExShellView1.HeaderVisible = false;
axExShellView1.BrowseFiles = "C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe|C:\\Program Files\\Microsoft Visual FoxPro 9\\vfp9.exe" +
"";

39:
How do I prevent pressing the Backspace, or go up to the parent

// KeyDown event - Occurs when the user presses a key while an object has the focus.
private void axExShellView1_KeyDownEvent(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_KeyDownEvent e)
{
	System.Diagnostics.Debug.Print( "Set the KeyCode = 0, if the KeyCode is 8 " );
	e.keyCode = 0;
}
//this.axExShellView1.KeyDownEvent += new AxEXSHELLVIEWLib._IExShellViewEvents_KeyDownEventHandler(this.axExShellView1_KeyDownEvent);

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Details;
axExShellView1.BrowseFolder = "c:\\Temp";
axExShellView1.Refresh();

38:
How can I show grid lines around items

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Details;
axExShellView1.DrawGridLines = true;
axExShellView1.Refresh();

37:
How can I prevent shwoing the overlay icons (shortcut icons have a small arrow in lower-left corner, shared folders have a hand that shows that folder is shared, etc. )

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.LargeIcons;
axExShellView1.OverlayIcons = false;
axExShellView1.Refresh();

36:
I need to provide my own context menu but I am not able to find RClick event. What can be done

// QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu.
private void axExShellView1_QueryContextMenu(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_QueryContextMenuEvent e)
{
	System.Diagnostics.Debug.Print( "Show here your popup/context menu" );
}
//this.axExShellView1.QueryContextMenu += new AxEXSHELLVIEWLib._IExShellViewEvents_QueryContextMenuEventHandler(this.axExShellView1_QueryContextMenu);

axExShellView1.DefaultMenuItems = false;

35:
How can I provide my own context menu (RClick event is missing)

// InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event.
private void axExShellView1_InvokeMenuCommand(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_InvokeMenuCommandEvent e)
{
	System.Diagnostics.Debug.Print( e.command.ToString() );
}
//this.axExShellView1.InvokeMenuCommand += new AxEXSHELLVIEWLib._IExShellViewEvents_InvokeMenuCommandEventHandler(this.axExShellView1_InvokeMenuCommand);

// QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu.
private void axExShellView1_QueryContextMenu(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_QueryContextMenuEvent e)
{
	e.separator = ",";
	e.items = "First,Second,Third";
}
//this.axExShellView1.QueryContextMenu += new AxEXSHELLVIEWLib._IExShellViewEvents_QueryContextMenuEventHandler(this.axExShellView1_QueryContextMenu);

axExShellView1.DefaultMenuItems = false;

34:
Is it possible to specify the "Extra Large Icons" view

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Extra_Large_Icons;

33:
Is it possible to specify the "Large Icons" view

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Large_Icons;

32:
Is it possible to specify the "Medium Icons" view

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Medium_Icons;

31:
How can I hide the file names

axExShellView1.HideFileNames = true;
axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Thumbnail;

30:
Is it possible to set the Auto Arrange and Align To Grid flags by code

axExShellView1.AutoArrange = true;
axExShellView1.AlignToGrid = true;
axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Thumbnail;

29:
Is it possible to set the Auto Arrange flag by code

axExShellView1.AutoArrange = true;
axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Thumbnail;

28:
How do I specify the current folder

axExShellView1.CurrentFolder = "c:\\windows";

27:
Is it possible to disable showing tooltips for files and folders

axExShellView1.HideToolTips = true;

26:
Is it possible to hide the control's header

axExShellView1.HeaderVisible = false;

25:
How can I get the name of file being double clicked

// ObjectSelect event - Fired when the user selects a new object for browsing.
private void axExShellView1_ObjectSelect(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_ObjectSelectEvent e)
{
	axExShellView1.CancelObjectSelect();
	System.Diagnostics.Debug.Print( e.object.ToString() );
}
//this.axExShellView1.ObjectSelect += new AxEXSHELLVIEWLib._IExShellViewEvents_ObjectSelectEventHandler(this.axExShellView1_ObjectSelect);


24:
How can I prevent opening or selecting a folder or zip files when user double click it
// ObjectSelect event - Fired when the user selects a new object for browsing.
private void axExShellView1_ObjectSelect(object sender, AxEXSHELLVIEWLib._IExShellViewEvents_ObjectSelectEvent e)
{
	axExShellView1.CancelObjectSelect();
}
//this.axExShellView1.ObjectSelect += new AxEXSHELLVIEWLib._IExShellViewEvents_ObjectSelectEventHandler(this.axExShellView1_ObjectSelect);


23:
Is it possible to list only files, no folders

axExShellView1.ModifyFolderFlags(EXSHELLVIEWLib.FolderFlagsEnum.NoSubFolders,EXSHELLVIEWLib.FolderFlagsEnum.NoFlag);

22:
How can I enable multiple selection

axExShellView1.ModifyFolderFlags(EXSHELLVIEWLib.FolderFlagsEnum.NoFlag,EXSHELLVIEWLib.FolderFlagsEnum.SingleSel);
axExShellView1.Refresh();

21:
How can I select a file or a folder

axExShellView1.Objects.Get(EXSHELLVIEWLib.ObjectTypeEnum.AllItems);
axExShellView1.Objects[0].SelectItem(EXSHELLVIEWLib.SelectItemFlagsEnum.Select);

20:
How can I get all files and folders as they are listed
axExShellView1.Objects.Get(EXSHELLVIEWLib.ObjectTypeEnum.AsDisplayed | EXSHELLVIEWLib.ObjectTypeEnum.AllItems);
System.Diagnostics.Debug.Print( axExShellView1.Objects.Count.ToString() );

19:
How can I get all files and folders being displayed
axExShellView1.Objects.Get(EXSHELLVIEWLib.ObjectTypeEnum.AllItems);
System.Diagnostics.Debug.Print( axExShellView1.Objects.Count.ToString() );

18:
How do I get the selected files or folders as they are displayed
axExShellView1.Objects.Get(EXSHELLVIEWLib.ObjectTypeEnum.AsDisplayed | EXSHELLVIEWLib.ObjectTypeEnum.SelectedItems);
System.Diagnostics.Debug.Print( axExShellView1.Objects.Count.ToString() );

17:
How do I get the selected files or folders
axExShellView1.Objects.Get(EXSHELLVIEWLib.ObjectTypeEnum.SelectedItems);
System.Diagnostics.Debug.Print( axExShellView1.Objects.Count.ToString() );

16:
How can I disable or enable the control's context menu

axExShellView1.DefaultMenuItems = false;

15:
How can I include only files that match a pattern

axExShellView1.IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.PatternObjects;
axExShellView1.FilePattern = "*.exe *.lnk";

14:
How can I include only files that match a pattern

axExShellView1.IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.PatternObjects;
axExShellView1.FilePattern = "*.bmp";

13:
How can I list only folders in the view

axExShellView1.IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.FoldersOnly;

12:
How do I specify what objects files or folders should be included in the list

axExShellView1.IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.FoldersOnly;

11:
How do I browse a special folder

axExShellView1.BrowseFolder = (axExShellView1.get_ShellFolder(axExShellView1.get_SpecialFolder(EXSHELLVIEWLib.SpecialFolderPathConstants.Programs)) as EXSHELLVIEWLib.ExShellFolder);

10:
How can I go up to one level, so I can browse the parent folder

axExShellView1.BrowseFolder = (axExShellView1.get_ShellFolder("C:\\") as EXSHELLVIEWLib.ExShellFolder);
axExShellView1.UpOneLevel();

9:
How do I browse a specified folder

axExShellView1.BrowseFolder = (axExShellView1.get_ShellFolder("C:\\") as EXSHELLVIEWLib.ExShellFolder);

8:
How can I disable or enable the entire control

axExShellView1.Enabled = false;

7:
How do I refresh the control
axExShellView1.Refresh();

6:
How can I change the control's font

stdole.IFontDisp f = new stdole.StdFont() as stdole.IFontDisp;
	f.Name = "Verdana";
	f.Size = 12;
axExShellView1.Font = (f as stdole.IFontDisp);

5:
How can I change the view, so it displays as THUMBNAIL

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Thumbnail;

4:
How can I change the view, so it displays as a a grid with details

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.Details;

3:
How can I change the view, so it displays as a list

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.List;

2:
How can I change the view, so it displays small icons

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.SmallIcon;

1:
How can I change the view, so it displays large icons

axExShellView1.ViewMode = EXSHELLVIEWLib.ViewModeType.LargeIcons;