45. How can I expand a folder
VB.NET
With Exfolderview1
	.get_ShellFolder("C:\").Expanded = True
End With
44. How do I get the subfolders of specified folder
VB.NET
Dim var_ShellFolders
With Exfolderview1
	var_ShellFolders = .get_ShellFolder("C:\").Folders
End With
43. How do I check a folder
VB.NET
With Exfolderview1
	.HasCheckBoxes = True
	.get_ShellFolder("C:\").Check = True
End With
42. How do I get the name of folder, as it is displayed in the control
VB.NET
Dim var_DisplayName
With Exfolderview1
	var_DisplayName = .FirstVisibleFolder.DisplayName
End With
41. How can I specify the folders being displayed in the control
VB.NET
With Exfolderview1
	.IncludeFolder = True
End With
40. How can I include the files and folders in the control
VB.NET
With Exfolderview1
	.IncludeAttributeMask = 2147483703
End With
39. How can I change the control's font
VB.NET
Dim f
With Exfolderview1
	f = New stdole.StdFont()
	With f
		.Name = "Verdana"
		.Size = 12
	End With
	.Font = f
End With
38. Can I add a rename to the control's context menu
VB.NET
With Exfolderview1
	.CanRename = True
End With
37. How can I change the shape of the cursor
VB.NET
With Exfolderview1
	.MousePointer = 2
End With
29. Can I assign partial check boxes to folders, so the sub folders get checked when the user checks the parent folder
VB.NET
With Exfolderview1
	.HasCheckBoxes = True
	.PartialCheck = True
	.FirstVisibleFolder.Check = True
End With
28. How can I drop files to control
VB.NET
With Exfolderview1
	.AllowDropFiles = True
End With
27. Can I explore only a folder, so the user can't see the parent folder
VB.NET
With Exfolderview1
	.ExploreFromHere = "c:\"
End With
26. How can I hide the icons
VB.NET
With Exfolderview1
	.IconsVisible = False
End With
25. How can I disable or enable the entire control
VB.NET
With Exfolderview1
	.Enabled = False
End With
24. How can I expand a folder
VB.NET
With Exfolderview1
	.EnsureVisible(.get_SpecialFolderPath(exontrol.EXFOLDERVIEWLib.SpecialFolderPathEnum.StartMenu))
End With
23. How can I ensure that a specified folder fits the contrl's client area
VB.NET
With Exfolderview1
	.EnsureVisible(.get_SpecialFolderPath(exontrol.EXFOLDERVIEWLib.SpecialFolderPathEnum.StartMenu))
End With
22. How do I refresh the control
VB.NET
With Exfolderview1
	.Refresh()
End With
21. Is there any function or property to get the first visible folder
VB.NET
With Exfolderview1
	.HasCheckBoxes = True
	.FirstVisibleFolder.Check = True
End With
20. How do I find a special folder, like My Computer
VB.NET
With Exfolderview1
	.SelectedFolder = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
End With
19. How do I find a special folder, like My Computer
VB.NET
With Exfolderview1
	.SelectedFolder = .get_SpecialFolderPath(exontrol.EXFOLDERVIEWLib.SpecialFolderPathEnum.MyComputer)
End With
18. How do I select and expand a folder
VB.NET
With Exfolderview1
	.SelectedFolder = .get_SpecialFolderPath(exontrol.EXFOLDERVIEWLib.SpecialFolderPathEnum.Programs)
End With
17. How do I select and expand a folder
VB.NET
With Exfolderview1
	.SelectedFolder = "c:\"
End With
16. How do I select a folder
VB.NET
With Exfolderview1
	.SelectedFolder = "c:\"
End With
15. How do I get the checked folders or files
VB.NET
With Exfolderview1
	.HasCheckBoxes = True
	.FirstVisibleFolder.Check = True
End With
14. How can I display the hidden folders
VB.NET
With Exfolderview1
	.HiddenFolders = True
End With
12. How can I refresh the control as soon as the user renames a folder in Windows Explorer
VB.NET
With Exfolderview1
	.AutoUpdate = True
End With
11. How do I enable or disable the control's context menu
VB.NET
With Exfolderview1
	.EnableShellMenu = False
End With
10. How do I hide the overlay icons
VB.NET
With Exfolderview1
	.OverlayIcons = False
End With
9. How do I display the overlay icons
VB.NET
With Exfolderview1
	.OverlayIcons = True
End With
8. How do I display the share name for folders and files
VB.NET
With Exfolderview1
	.DisplayShareName = True
End With
7. How do I assign a checkbox for each folder/file in the control
VB.NET
With Exfolderview1
	.HasCheckBoxes = True
End With
6. How do I remove the lines that link the root items
VB.NET
With Exfolderview1
	.HasLinesAtRoot = False
End With
5. How do I remove the buttons to expand or collapse the folders
VB.NET
With Exfolderview1
	.HasButtons = False
End With
4. How do I remove the lines between items
VB.NET
With Exfolderview1
	.HasLines = False
End With
3. How do I remove the control's border
VB.NET
With Exfolderview1
	.Appearance = exontrol.EXFOLDERVIEWLib.AppearanceEnum.Flat
End With
2. How do I change the control's foreground color
VB.NET
With Exfolderview1
	.ForeColor = Color.FromArgb(255,0,0)
End With
1. How do I change the control's background color
VB.NET
With Exfolderview1
	.BackColor = Color.FromArgb(255,0,0)
End With