Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Project
Message
From
03/04/2013 08:39:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01569743
Message ID:
01569869
Views:
37
>>>Tore, thanks for your reply. I, myself, have been a FoxPro developer for 15 years. I don't think that FoxPro can read barcodes from a scanner (ok to prove me wrong!) which is why I am using Visual Basic 6. If you have a way to read barcodes with Fox, give me a shout. Otherwise, let me know what your best talents are and maybe we can work together on future projects.
>>>Randy
>>
>>To the computer a barcode scanner IS a keyboard, simple as that! Nothing fancy, no need for any third party software. Hook up the scanner, and you are done! In some cases the scanner adds a character before or after the barcode, but they are easily removed by for instance chrtran(). As a test, open Notepad, and see what you see when you try scanning, you will be surprised.
>
>Yep - that's how it works - it's just like sending keystrokes via any other keyboard. I have several VFP apps that use barcode scanners & I didn't have to do anything special at all. Heck I didn't even have one when I wrote the app..hahaha

Right... so did we back in 1995. Had borrowed one for a couple of days just to test it and go through its setup (as the staff at the POS wouldn't be trusted to RTFM and understand it). The only problem was that we had to leave it set to add a CR at the end of the string, so we had to code a SET CONFIRM ON in the when() and OFF in the valid().

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform