Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Barcode Newbie question


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-15-2009, 04: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, 06:15 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,839
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, 02: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, 02:44 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,831
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, 27 views)
__________________
Basic4ppc reference list
Reply With Quote
  #5 (permalink)  
Old 01-16-2009, 03: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, 03:30 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,831
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 = ""
__________________
Basic4ppc reference list
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 On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 11:46 PM.


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