Barcode Newbie question

Discussion in 'Questions (Windows Mobile)' started by Gioia, Jan 15, 2009.

  1. Gioia

    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
     
  2. agraham

    agraham Expert Licensed User

    Search the forum for "barcode" or "scanner", there are quite a few posts about this.
     
  3. 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.
     
  4. Erel

    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.
     

    Attached Files:

    • 1.sbp
      File size:
      568 bytes
      Views:
      94
  5. Gioia

    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 ?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    The relevant code which should be placed in sub TextBox1TextChangedEvent_NewEvent is:
    Code:
    If StrLength(TextBox1.Text) < 2 Then 'Ignore keyboard.
            TextBox1.Text = ""
            
    Return
        
    End If
        Form1.Text = TextBox1.Text
        TextBox1.Text = 
    ""
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice