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