You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/Windows folders
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control List Inherits Listbox
ControlInstance List Inherits Listbox
End Control
EventHandler Sub Open()
dim f as FolderItem
f = CookiesMBS
if f<>Nil then
List.AddRow "CookiesMBS: "+f.NativePath
end if
f = HistoryMBS
if f<>Nil then
List.AddRow "HistoryMBS: "+f.NativePath
end if
f = InternetCacheMBS
if f<>Nil then
List.AddRow "InternetCacheMBS: "+f.NativePath
end if
f = WindowsStartMenuMBS(-32766) // system
if f<>Nil then
List.AddRow "WindowsStartMenuMBS: "+f.NativePath
end if
f = WindowsStartMenuMBS(-32763) // user
if f<>Nil then
List.AddRow "WindowsStartMenuMBS: "+f.NativePath
end if
f = AdminToolsMBS(-32766) // system
if f<>Nil then
List.AddRow "AdminToolsMBS: "+f.NativePath
end if
f = AdminToolsMBS(-32763) // user
if f<>Nil then
List.AddRow "AdminToolsMBS: "+f.NativePath
end if
End EventHandler
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar