Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Barcode Newbie question

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-15-2009, 05:23 PM
Newbie
 
Join Date: Jan 2009
Posts: 3
Question Barcode Newbie question

this
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
Reply With Quote
  #2 (permalink)  
Old 01-15-2009, 07:15 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Search the forum for "barcode" or "scanner", there are quite a few posts about this.
Reply With Quote
  #3 (permalink)  
Old 01-16-2009, 03:11 PM
Newbie
 
Join Date: Jan 2009
Posts: 3
Default

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.
Reply With Quote
  #4 (permalink)  
Old 01-16-2009, 03:44 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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
File Type: sbp 1.sbp (568 Bytes, 34 views)
__________________
Basic4android documentation
Reply With Quote
  #5 (permalink)  
Old 01-16-2009, 04:11 PM
Newbie
 
Join Date: Jan 2009
Posts: 3
Default

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 ?
Reply With Quote
  #6 (permalink)  
Old 01-16-2009, 04:30 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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 = 
""
__________________
Basic4android documentation
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQLite newbie question JamesC Chit Chat 1 08-01-2008 09:26 AM
Newbie Question Stevenator65 Questions (Windows Mobile) 9 05-30-2008 09:53 PM
Newbie question - arrays and tables BjornF Questions (Windows Mobile) 3 05-15-2008 10:29 AM
Another newbie question: How to refere to the active form? yildi Questions (Windows Mobile) 2 11-17-2007 08:55 PM
Newbie - question about loadXML yildi Questions (Windows Mobile) 6 11-13-2007 12:43 AM


All times are GMT. The time now is 02:46 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0