DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2005
    Posts
    3

    Reading data from barcode scanner

    Hi,

    Can anyone please help me out with this project I have to do, I am a VB 6 beginner and I have a project which requires me to read data from a barcode using a handheld Symbol scanner and then link that data to an Oracle database, I've been trying to attempt this for weeks now but with no luck.... I would be eternally gratefull to anyone who could help me out with this.

    Thank you,

    Derek

    P.S. the manufacturer sample code is not useful

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    If the scanner attaches to the serial port, you can use the MSComm control to read its input. If it's a "keyboard wedge" scanner, its input will appear as if it were typed at the keyboard; you may simply set focus to a textbox and the scanner's input will appear in the .Text property.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Sep 2005
    Posts
    3
    THanks for your reply Phil, but the scanner uses a PS/2 interface, I did try the MSComm control earlier but no luck there.

    Derek

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    So I assume you plug the scanner into the keyboard connector on the PC? Try setting focus to a textbox, then doing a scan; the scanner's output should appear in the textbox.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  5. #5
    Join Date
    Sep 2005
    Posts
    3
    yes, the scanner is plugged into the keyboard connector on the pc. I tried to do a scan but it does not show any output in the textbox.

    Derek

  6. #6
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I would double check that the scanner is installed and configured correctly, checking with the vendor's support dept as necessary.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Reading excel spreadsheet data into HTML file
    By kumar_naveen81 in forum VB Classic
    Replies: 0
    Last Post: 04-25-2005, 11:20 PM
  2. Save Image to Field
    By Chicho in forum VB Classic
    Replies: 11
    Last Post: 10-01-2003, 12:00 AM
  3. reading xml data
    By David in forum XML
    Replies: 0
    Last Post: 09-09-2002, 04:48 PM
  4. Replies: 0
    Last Post: 07-22-2000, 04:07 AM
  5. Complex Data Consumer Data Aware Classes
    By Desmond Cassidy in forum authorevents.kurata
    Replies: 3
    Last Post: 04-19-2000, 03:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links