I have 3 computers each running a VFP 8.0 application. Each computer is of
the same brand running XP and each computer is using a Symbol LS1908 USB bar
code scanner. On 2 of the computers when I scan the bar code, the
application returns focus to the same field and awaits another scan. On the
3rd computer control does not return to the text box for another scan. Each
system is running the same exe. Each system has set confirm on. What else
could cause this?
Thanks in advance,
John

Re: Returning focus after scan...VFP8.0 by Andrew

Andrew
Mon Dec 01 06:48:39 CST 2003

John G wrote:
> I have 3 computers each running a VFP 8.0 application. Each computer
> is of the same brand running XP and each computer is using a Symbol
> LS1908 USB bar code scanner. On 2 of the computers when I scan the
> bar code, the application returns focus to the same field and awaits
> another scan. On the 3rd computer control does not return to the
> text box for another scan. Each system is running the same exe.
> Each system has set confirm on. What else could cause this?

The setup of the scanner. I would guess that you have a postamble character
set or not set on the problem scanner.
Big hint: It is very common for a scanner to be programmed to "press enter"
after a scan. Maybe this is missing from your dodgy scanner.

In the manual for the scanner there are probably a load of special barcodes
for programming it. Try to establish what the scanners are doing by opening
notepad and scanning some barcodes whilst you watch. If you can see what is
up then try using the manual to reprogram the misconfigured scanner.

If USB scanners don't work by inserting keystrokes in the keyboard buffer
then the notepad diagnostic trick won't work, maybe there is some diagnostic
utility that it came with the scanner (or in the driver itself, I'm 100%
guessing because I've never seen one) but I am sure your problem lies in a
misconfigured scanner.

--
HTH
Andrew Howell