Barcode Newbie question

Gioia

New Member
:sign0085:this :sign0104:
1) I understand that this software can be used to create a custom gui for a barcode scanner using windows mobile 5.0 correct?

2) How do import information from the barcode scanner into a flat file? Can this program help me do that?

Thanks in advance for any assistance you can provide.
-Gioia
 

Gioia

New Member
Yes I did but the main one with information from Erel when I try to download the zip file in his post it says I do not have adequate permissions.
 

Erel

Administrator
Staff member
Licensed User
The functionality of the Barcode library can be achieved with the Door library.
I've attached a simple program which shows how to add the TextChanged event to a textbox.

You should add TextBox1.Focus at the beginning of your program.
Now whenever you scan a barcode the value will appear in the textbox.
You can take this value and write it to a file with FileWrite.
 

Attachments

  • 568 bytes Views: 100

Gioia

New Member
Many thanks Erel for the quick response! Can you also give me the other scanner code examples from the post: basic4ppc.com/forum/additional-libraries/313-barcode-scanners.html ?
 

Erel

Administrator
Staff member
Licensed User
The relevant code which should be placed in sub TextBox1TextChangedEvent_NewEvent is:
B4X:
    If StrLength(TextBox1.Text) < 2 Then 'Ignore keyboard.
        TextBox1.Text = ""
        Return
    End If
    Form1.Text = TextBox1.Text
    TextBox1.Text = ""
 
Top