1. How can I change the view, so it displays large icons
| Visual Basic / NET |
|---|
With AxExShellView1 .ViewMode = EXSHELLVIEWLib.ViewModeType.LargeIcons End With |
2. How can I change the view, so it displays small icons
| Visual Basic / NET |
|---|
With AxExShellView1 .ViewMode = EXSHELLVIEWLib.ViewModeType.SmallIcon End With |
3. How can I change the view, so it displays as a list
| Visual Basic / NET |
|---|
With AxExShellView1 .ViewMode = EXSHELLVIEWLib.ViewModeType.List End With |
4. How can I change the view, so it displays as a a grid with details
| Visual Basic / NET |
|---|
With AxExShellView1 .ViewMode = EXSHELLVIEWLib.ViewModeType.Details End With |
5. How can I change the view, so it displays as THUMBNAIL
| Visual Basic / NET |
|---|
With AxExShellView1 .ViewMode = 5 End With |
6. How can I change the control's font
| Visual Basic / NET |
|---|
Dim f
With AxExShellView1
f = CreateObject("StdFont")
With f
.Name = "Verdana"
.Size = 12
End With
.Font = f
End With
|
7. How do I refresh the control
| Visual Basic / NET |
|---|
With AxExShellView1 .Refresh End With |
8. How can I disable or enable the entire control
| Visual Basic / NET |
|---|
With AxExShellView1 .Enabled = False End With |
9. How do I browse a specified folder
| Visual Basic / NET |
|---|
With AxExShellView1
.BrowseFolder = .get_ShellFolder("C:\")
End With
|
10. How can I go up to one level, so I can browse the parent folder
| Visual Basic / NET |
|---|
With AxExShellView1
.BrowseFolder = .get_ShellFolder("C:\")
.UpOneLevel
End With
|
11. How do I browse a special folder
| Visual Basic / NET |
|---|
With AxExShellView1 .BrowseFolder = .get_ShellFolder(.get_SpecialFolder(EXSHELLVIEWLib.SpecialFolderPathConstants.Programs)) End With |
12. How do I specify what objects files or folders should be included in the list
| Visual Basic / NET |
|---|
With AxExShellView1 .IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.FoldersOnly End With |
13. How can I list only folders in the view
| Visual Basic / NET |
|---|
With AxExShellView1 .IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.FoldersOnly End With |
14. How can I include only files that match a pattern
| Visual Basic / NET |
|---|
With AxExShellView1 .IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.PatternObjects .FilePattern = "*.bmp" End With |
15. How can I include only files that match a pattern
| Visual Basic / NET |
|---|
With AxExShellView1 .IncludeObjectType = EXSHELLVIEWLib.IncludeObjectEnum.PatternObjects .FilePattern = "*.exe *.lnk" End With |
16. How can I disable or enable the control's context menu
| Visual Basic / NET |
|---|
With AxExShellView1 .DefaultMenuItems = False End With |
19. How can I select a folder
| Visual Basic / NET |
|---|
With AxExShellView1 .Objects.Get(EXSHELLVIEWLib.ObjectTypeEnum.AllItems).Item(0).SelectItem EXSHELLVIEWLib.SelectItemFlagsEnum.Select End With |