Platforms to show: All Mac Windows Linux Cross-Platform
Required plugins for this example: MBS Util Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/Windows folders
This example is the version from Thu, 31th Jul 2019.
Project "Windows folders.xojo_binary_project"
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
End Project
See also:
The items on this page are in the following plugins: MBS Util Plugin.