barcode barcode sakti (Programmer) (OP) 16 Dec 99 07:06 1. how can vfp read barcode ? 2. I have been building file.exe, but it can't permanent on the screen, why ? RE: barcode Dataman (Programmer) 27 Dec 99 08:29 By using a barcode reader with a "keyboard wedge", you can scan barcodes. VFP (or any other program) sees the barcode as coming from the keyboard. Some barcode readers also have a serial connection that you can use. You have to set up an event handler to keep the EXE running. I usually set up a prg called start.prg and it will contain variable definitions, opening the database, reading configuration files, etc. But the main thing it does is to have the following code: Public OkToRun OkToRun = .T. Do While OkToRun Read Events EndDo Then in the menu choice, button (or whatever the user clicks on to exit) I put the following code: OkToRun = .F. Clear Events RE: barcode prangster (MIS) 4 Jan 00 18:57 Check out a company called TAL. They make a product called BC-Wedge. It's software for Windows that allows communication from the reader through a serial port directly into the keyboard buffer. I believe it is less clunky than the "keyboard wedge" approach (although that works okay). TAL has the "keyboard wedge" solution too. I just found the BC-Wedge cheap, easy to implement, and reliable. Good Luck!