Scanning FedEx labels into a visual basic program

Posted by 0bfus on Stack Overflow See other posts from Stack Overflow or by 0bfus
Published on 2010-06-15T21:31:03Z Indexed on 2010/06/15 21:32 UTC
Read the original article Hit count: 200

I have a program that has tracking numbers entered into it and it stores them in a database and i would like to add a scanner to the mix. The scanner is acting like a keyboard and scannes just fine, the problem is scanning a FedEx number gives a 32 digit number and i am only iterested in the tracking number portion of it. I saw an example on the web for an excel macro and tried to modify it but it doesnt seem to work. Is there something i could do to just get the 12 digit number? This is what it looks like so far. Any help would be greatly appreciated.

With BarcodeText
    If .Text < "1z99999999999999999" Then
        .Text = Mid(.Text, 17, 12)
    End If

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about visual-basic