1. In Design, you need a button and a label. Format them using horizontal arrangements just for practice.
2. Drop in a Barcode Scanner component from the Other Stuff drawer.
3. Switch over to the Blocks Editor and drag out your button's click framework (as shown in the following illustration). Pull the BarcodeScanner1.DoScan into the framework.
4. Get a BarcodeScanner1.AfterScan block and add the Label1.Text into it, and click the BarcodeScannerResult1 block into that.
Now, find some barcodes and scan them so you can see the results. Here's what I got when I scanned one of my books from the bookshelf (Rebol for Dummies). The result is the ISBN number (how books are tracked in bookstore inventories).