Platforms to show: All Mac Windows Linux Cross-Platform

/USB/List Windows USB Devices
Required plugins for this example: MBS USB Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /USB/List Windows USB Devices
This example is the version from Sun, 17th Mar 2012.
Project "List Windows USB Devices.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
EventHandler Sub Open() dim devices(-1) as WinUSBDeviceMBS = WinUSBDeviceMBS.Devices for each d as WinUSBDeviceMBS in devices List.AddRow hex(d.VendorID) List.Cell(List.LastIndex,1) = d.Vendor List.Cell(List.LastIndex,2) = hex(d.ProductID) List.Cell(List.LastIndex,3) = d.Product List.Cell(List.LastIndex,4) = d.SerialNumber next End EventHandler
End Control
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

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS USB Plugin.

The biggest plugin in space...

MBS Xojo tutorial videos

Start Chat