Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8651241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:00:57+00:00 2026-06-12T14:00:57+00:00

I am adding Code 39 bar code scanning functionality to a C# asp.net web

  • 0

I am adding Code 39 bar code scanning functionality to a C# asp.net web app. This function must work with iphone, ipad, android phone, and android tablet. I need the scanned bar code value to be passed back to my web app.

So far I have been able to make this work on android phone and android tablet using ZXing barcode scanner with this method. Unfortunately the current version of ZXing in the App Store (Version 1.1) is currently not capable of scanning 1D bar code types. Through much of my research I have seen that 1D barcode scanning has been ported to later IOS ZXing versions but I’m not an IOS developer and am unsure how to install or enable it.

I have also explored the possibility of using pic2shop’s web solution but this only works with UPC and other commercial codes and the bar code must be Code 39 based on my clients requirements.

I have clients all over the country so I can not physically be on site for each one so I need all of the complexity to be on me in my code not on the end user. I realize that the IOS solution will probably not be the same as the droid but I need it to feel as close as possible for the end user because a few of my clients will be using multiple devices and I need to minimize the confusion.

I realize that I have a tall order with a lot of restrictions but any thoughts would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:00:59+00:00Added an answer on June 12, 2026 at 2:00 pm

    I ended up using CNS Barcode for IOS devices. CNS is a good solution, it does everything that I need but it is not an ideal solution for two reasons:

    1. It is not free. I have no problem with paying for apps, I think that a developer deserves every penny. In my case though this caused an inconveinence to my clients. The small cost is irrelevant when factoring in the benefit of the new functionality but it’s hard to sell a product to a client then tell them to make it work you will need to buy this other product.

    2. CNS does not return the result to the calling window/tab, it opens a new tab. In my case this is a problem because the barcode scanner is being used to scan id badges to clock in or clock out employees and may be done 50 times meaning 50 tabs opened.

    I was able to create a solution for number two by creating a local key-value storage instance on the new tab along with a key-value change listener on the old tab:

    window.addEventListener("storage", onStorageChanged, false);
    function onStorageChanged(e)
    {
        if(/*check for appropriate key-value*/)
        {
             window.Close();       
        }
    }
    

    Note: This solution may have to be modified to pass the actual barcode result in the local key-value storage instance back to the original tab and use window.Close() to close the new tab if the original tab was not opened via javascript, which is probably more often the case, because window.Close() does not work for windows that were browsed to naturally (not opened with javascript).

    Since the number 1 concern is only an inconvenience and the number 2 concern is fixable I will mark this as solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this bar chart control on my web page, I am adding at
Say if this is the code: function bar() { $result = array(); for ($i
I am adding menu item to Application bar using this code ApplicationBar.MenuItems.Insert(0, refreshMenu); I
While adding two language code files i.e. C# and VB.NET to App_Code, got an
I'm adding navigation tabs to an action bar using the sample code provided here:
Consider this example Javascript code: a = new Array(); a['a1']='foo'; a['a2']='bar'; b = new
This works as expected in a GSP-page: <td>${Foo.findAllByBar(bar)}</td> But when adding a collect statement
Here is my code. This is adding image but images are being appeared in
I have an ASP.NET GridView which has columns that look like this: | Foo
I tried adding a sliderbar using http://code.google.com/p/gwt-slider-bar/ code to a TabLayoutPanel but the sliderbar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.