Jon,
Guess what, put in a debug log, and got it when the scanning wasn't working
as expected. Just happened half way into the day when it has been working
fine for the last week...
The data that was scanned looks identical to what i'd expect. No escape
characters etc... That really doesn't make sense. The work-around I have so
far is to have a little green cross (for medic) button on the main form, and
when the scanner isn't working, it calls another process then closes the
application down. The "other process" is another app that simply waits for a
few seconds, then opens up the original application... this seems to destroy
the scanner handler objects (from the Symbol SDK) which should be clean up
by the garbage collector when exiting from a dialog where you scan, back to
the main screen anyway?
Who knows...
Any ideas?
Thanks.
Dan.
"Jon Skeet [C# MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> <"Dan =o\)" <danielbass [at] postmaster [dot] co [dot] uk>> wrote:
>> Unfortunately I'm working off site, and the scanners are on site...
>>
>> I've got a function called remove non-number, checks every char in a
>> string
>> for whether it is a valid number and adds it to the result if so. I
>> suppose
>> I could extend that from here, to include the set of characters I'd
>> expect
>> in a barcode, and then perform this filter before using the data?
>
> Hard to say without knowing a bit more about it, but that's a
> possibility.
>
> I suggest you keep a log of the exact string which the barcode is
> returning, so that you can get that information back from site.
>
> --
> Jon Skeet - <(E-Mail Removed)>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too