Platforms to show: All Mac Windows Linux Cross-Platform

/Picture/Barcode recognition/Barcode recognition


Required plugins for this example: MBS Picture Plugin

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Picture/Barcode recognition/Barcode recognition

This example is the version from Tue, 16th Sep 2019.

Project "Barcode recognition.xojo_binary_project"
FileTypes
Filetype text
Filetype all
End FileTypes
Class Window1 Inherits Window
EventHandler Sub DropObject(obj As DragItem, action As Integer) Dim p As Picture dim b as new BarcodeScannerMBS 'b.CheckDigits=false 'b.MinimumLength=0 do if obj.FolderItemAvailable then p = picture.open(obj.FolderItem) if b.Scan(p) then title= b.Barcode else title= "failed" end if Backdrop=p end if loop until not obj.NextItem End EventHandler
EventHandler Sub Open() me.AcceptFileDrop "all" End EventHandler
End Class
MenuBar MenuBar1
MenuItem UntitledMenu1 = ""
MenuItem FileMenu = "&File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu5 = ""
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu0 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "Clear"
MenuItem UntitledMenu4 = ""
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = ""
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

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


The biggest plugin in space...