48
Is there a way to change the header names

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ColumnNames = "Name(Ime),Date modified(Datum),Item type(Tip),Size(Velikost)";
}
</SCRIPT>
</BODY>

47
Disable or prevent the header's context-menu
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.AllowContextMenu = 1;
}
</SCRIPT>
</BODY>

46
Disable or prevent the list-view's context-menu
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.AllowContextMenu = 2;
}
</SCRIPT>
</BODY>

45
Disable or prevent the control's context-menu
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.AllowContextMenu = 0;
}
</SCRIPT>
</BODY>

44
How can I add my own items, without the default context menu

<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="InvokeMenuCommand(Command)" LANGUAGE="JScript">
	alert( Command );
</SCRIPT>

<SCRIPT FOR="ExShellView1" EVENT="QueryContextMenu(Items,Separator)" LANGUAGE="JScript">
	Separator = ",";
	Items = "My First Item,My Second Item";
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.DefaultMenuItems = false;
	ExShellView1.BrowseFolder = "c:\\Temp";
}
</SCRIPT>
</BODY>

43
How can I add my own items

<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="InvokeMenuCommand(Command)" LANGUAGE="JScript">
	alert( Command );
</SCRIPT>

<SCRIPT FOR="ExShellView1" EVENT="QueryContextMenu(Items,Separator)" LANGUAGE="JScript">
	Separator = ",";
	Items = ",My First Item,My Second Item";
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.BrowseFolder = "c:\\Temp";
}
</SCRIPT>
</BODY>

42
The InvokeCommand("open") will not work on a german. What can I do
<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="DblClick()" LANGUAGE="JScript">
	// Objects(0).InvokeCommand("Open")
	ExShellView1.Objects.Get(1);
</SCRIPT>

<SCRIPT FOR="ExShellView1" EVENT="InvokeItemMenu(Command)" LANGUAGE="JScript">
	alert( Command );
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.BrowseFolder = "c:\\Temp";
}
</SCRIPT>
</BODY>

41
How can I open the file's properties when user double clicks it
<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="DblClick()" LANGUAGE="JScript">
	// Objects(0).InvokeCommand("Properties")
	ExShellView1.Objects.Get(1);
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.BrowseFolder = "c:\\Temp";
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 1;
	ExShellView1.HeaderVisible = false;
	ExShellView1.BrowseFiles = "C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe|C:\\Program Files\\Microsoft Visual FoxPro 9\\vfp9.exe" +
	"";
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="KeyDown(KeyCode,Shift)" LANGUAGE="JScript">
	alert( "Set the KeyCode = 0, if the KeyCode is 8 " );
	KeyCode = 0;
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 4;
	ExShellView1.BrowseFolder = "c:\\Temp";
	ExShellView1.Refresh();
}
</SCRIPT>
</BODY>

38
How can I show grid lines around items

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 4;
	ExShellView1.DrawGridLines = true;
	ExShellView1.Refresh();
}
</SCRIPT>
</BODY>

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. )

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 1;
	ExShellView1.OverlayIcons = false;
	ExShellView1.Refresh();
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="QueryContextMenu(Items,Separator)" LANGUAGE="JScript">
	alert( "Show here your popup/context menu" );
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.DefaultMenuItems = false;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="InvokeMenuCommand(Command)" LANGUAGE="JScript">
	alert( Command );
</SCRIPT>

<SCRIPT FOR="ExShellView1" EVENT="QueryContextMenu(Items,Separator)" LANGUAGE="JScript">
	Separator = ",";
	Items = "First,Second,Third";
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.DefaultMenuItems = false;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 13;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 14;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 15;
}
</SCRIPT>
</BODY>

31
How can I hide the file names

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.HideFileNames = true;
	ExShellView1.ViewMode = 5;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.AutoArrange = true;
	ExShellView1.AlignToGrid = true;
	ExShellView1.ViewMode = 5;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.AutoArrange = true;
	ExShellView1.ViewMode = 5;
}
</SCRIPT>
</BODY>

28
How do I specify the current folder

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.CurrentFolder = "c:\\windows";
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.HideToolTips = true;
}
</SCRIPT>
</BODY>

26
Is it possible to hide the control's header

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.HeaderVisible = false;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="ObjectSelect(Object)" LANGUAGE="JScript">
	ExShellView1.CancelObjectSelect();
	alert( Object );
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
}
</SCRIPT>
</BODY>

24
How can I prevent opening or selecting a folder or zip files when user double click it
<BODY onload="Init()">
<SCRIPT FOR="ExShellView1" EVENT="ObjectSelect(Object)" LANGUAGE="JScript">
	ExShellView1.CancelObjectSelect();
</SCRIPT>

<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
}
</SCRIPT>
</BODY>

23
Is it possible to list only files, no folders

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ModifyFolderFlags(128,0);
}
</SCRIPT>
</BODY>

22
How can I enable multiple selection

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ModifyFolderFlags(0,64);
	ExShellView1.Refresh();
}
</SCRIPT>
</BODY>

21
How can I select a file or a folder

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Objects.Get(2);
	ExShellView1.Objects.Item(0).SelectItem(1);
}
</SCRIPT>
</BODY>

20
How can I get all files and folders as they are listed
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Objects.Get(18);
	alert( ExShellView1.Objects.Count );
}
</SCRIPT>
</BODY>

19
How can I get all files and folders being displayed
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Objects.Get(2);
	alert( ExShellView1.Objects.Count );
}
</SCRIPT>
</BODY>

18
How do I get the selected files or folders as they are displayed
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Objects.Get(17);
	alert( ExShellView1.Objects.Count );
}
</SCRIPT>
</BODY>

17
How do I get the selected files or folders
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Objects.Get(1);
	alert( ExShellView1.Objects.Count );
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.DefaultMenuItems = false;
}
</SCRIPT>
</BODY>

15
How can I include only files that match a pattern

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.IncludeObjectType = 3;
	ExShellView1.FilePattern = "*.exe *.lnk";
}
</SCRIPT>
</BODY>

14
How can I include only files that match a pattern

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.IncludeObjectType = 3;
	ExShellView1.FilePattern = "*.bmp";
}
</SCRIPT>
</BODY>

13
How can I list only folders in the view

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.IncludeObjectType = 2;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.IncludeObjectType = 2;
}
</SCRIPT>
</BODY>

11
How do I browse a special folder

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.BrowseFolder = ExShellView1.ShellFolder(ExShellView1.SpecialFolder(2));
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.BrowseFolder = ExShellView1.ShellFolder("C:\\");
	ExShellView1.UpOneLevel();
}
</SCRIPT>
</BODY>

9
How do I browse a specified folder

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.BrowseFolder = ExShellView1.ShellFolder("C:\\");
}
</SCRIPT>
</BODY>

8
How can I disable or enable the entire control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Enabled = false;
}
</SCRIPT>
</BODY>

7
How do I refresh the control
<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.Refresh();
}
</SCRIPT>
</BODY>

6
How can I change the control's font

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	var f = new ActiveXObject("StdFont");
		f.Name = "Verdana";
		f.Size = 12;
	ExShellView1.Font = f;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 5;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 4;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 3;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 2;
}
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:B4E1F234-AF0D-4EAD-8113-A563B40E71CA" id="ExShellView1"></OBJECT>

<SCRIPT LANGUAGE="JScript">
function Init()
{
	ExShellView1.ViewMode = 1;
}
</SCRIPT>
</BODY>