Question

Activating the barcode scanner of a Motorola MC3090 device in .NET Mobile

Asked by: Frans_Truyens

I am able to upload a program to the barcode scanner, with CE 5.0, and it has wireless access to the LAN, but I am not able to scan. I probably will need libraries, and I will have to activate them. Please some help.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-29 at 04:20:07ID24447901
Tags

.NET Mobile

,

VB.NET

,

C#

,

Symbol

,

Motorola

,

barcode scanner

Topics

.Net Compact Framework

,

C# Programming Language

,

.NET

Participating Experts
3
Points
500
Comments
7

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. barcode scanners
    i work with barcode scanners: how can i know when the string came from the barcode and when the string came from the keyboard? i have 10 TEdits on my form and i want to set focus just on one of them when the string came from the barcode. can u tell me what i need to do? than...
  2. barcode scanners
    Hi i'm looking for a barcode scanner that can work on my USB (preferred) or Com1 port on my PC. I want to use it to write my own software on. Only problem is where can i find a cheap barcode scanner that can do the trick?! Anyone any experiance with this ?
  3. Barcode Scanners
    To anyone with expert knowledge and experience on barcode scanners. Are there any such scanners in the market that could work like a handheld scanner as well? I'm trying to have the barcode scanner scan normal characters and have it sent to the computer as an image for furth...
  4. Barcode scanner and textboxes
    Hello. We are replacing the old barcode scanners we have with a new wireless model. The old scanners would automatically add a CR after the scan and I used this to move between field that were being scanned for a validation check on the chemicals being used. Well the new sca...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: sasllcPosted on 2009-05-29 at 04:28:18ID: 24501840

You CAN indeed add code to your programs fire the laser when you pull the trigger.  But a far easier solution that may work for you is to use their "scanwedge.exe" program that is in the applications folder.  If you run this program prior to executing your application, it will run in the background, and cause the laser to fire every time you pull the trigger, and it will deliver scanned data to your application.

There is also a better version of scanwedge that they offer, known as "datawedge.exe".  With both of these, you can set all kinds of parameters in order to make them capture and send the data properly to your app.

If you are interested in this approach, let me know, and I'll get you more details--once I can get back to my office where my 3090 is.

 

by: Frans_TruyensPosted on 2009-05-29 at 04:41:25ID: 24501918

Thank you. I double-clicked on scanwedge.exe and my scanner scans. Is there a way to start this program automatically when the scanner is started? Or has it to be started manually all the time?

 

by: sasllcPosted on 2009-05-29 at 05:12:01ID: 24502081

Once you start it up, it will always be running, unless the 3090 is rebooted. I believe there is a way to put it in a startup folder, but I would have to check as to how.

With our app, we simply place a shortcut on the desktop for those rare cases where a user reboots his scanner--and in that case he can simply click that icon to start up the scanwedge or datawedge program...and then it just runs in the background.  Note that sometimes the program will just quit scanning--for reasons unknown--but you can simply run that desktop shortcut to get the laser firing again.

 

by: Frans_TruyensPosted on 2009-05-29 at 05:25:43ID: 31586606

Thanks. That solved my problem.

 

by: throttlenetPosted on 2010-08-04 at 14:15:20ID: 33361881

I know this is technically solved and this solution works for us as well but have a follow up am curious to address.

For us we have a scanner application that by default reads all kinds of bar codes without the data wedge or any other special configurations. We have a bar code from Ford Motor Co. that in the same application just doesn't work without data wedge running. The scanning laser is active on scan button but the application scan read event is just never fired. Only happens for this new type of code for different client.

Here is our handler, can anyone simply explain why scanner works without data wedge for everything except this bar code type. The laser fires, just no read.

private void barcode1_OnRead(object sender, Symbol.Barcode.ReaderData readerData)
        {
            try
            {  
                if (_scanType == ScanType.CrossDock)

                {
                    if (txtDealerNumber.Focused)
                    {
                        //if (ValidateDealerNumber(readerData.Text))
                        //{
                        //there is no DealerNumber set so we must be reading it
                        txtDealerNumber.Text = readerData.Text;
                        //readyEntryField(txtCartonNumber);
                        txtCartonNumber.Focus();
                        ToggleBackColor(txtCartonNumber);
                        //}
                        //else
                        //    return;
                    }
                    else
                    {
                        txtCartonNumber.Text = readerData.Text;
                        //we should have a 'complete scanned item' at this point

                        scannedItem = new ScannedItem();
                        if (txtCartonNumber.Text == null || txtCartonNumber.Text == string.Empty)
                        {
                            MessageBox.Show("Carton Number Required");
                            txtCartonNumber.Focus();
                            ToggleBackColor(txtCartonNumber);
                            return;
                        }
                        else
                            scannedItem.CartonNumber = txtCartonNumber.Text;

                        if (txtDealerNumber.Text == null || txtDealerNumber.Text == string.Empty)
                        {
                            MessageBox.Show("Dealer Number Required");
                            txtCartonNumber.Text = string.Empty;
                            txtDealerNumber.Focus();
                            ToggleBackColor(txtDealerNumber);
                            return;
                        }
                        else
                            scannedItem.DealerNumber = txtDealerNumber.Text;
                       
                        scannedItem.ScannedItemType = _scanType;
                       
                        //Serialize using data service
                        dataService.addItem(scannedItem);

                        //Update the count of total items scanned
                        _totalItems++;
                        UpdateTotalItems();

                        //clear txt fields
                        txtDealerNumber.Text = string.Empty;
                        txtCartonNumber.Text = string.Empty;
                        ToggleBackColor(txtDealerNumber);

                        //display items
                        displayItems(scannedItem);
                        txtDealerNumber.Focus();
                       
                    }
                }
                else if (_scanType == ScanType.HVCParts)
                {
                           //More handling code here for option
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }


Also, here are instructions on how to install with auto start following a warm boot. Am trying these now and will update if the instructions are modified at all for us to get working.

Installing DataWedge
Installing the DataWedge utility requires copying several files to the Symbol terminal and put in a specific
directory to prevent loss of files when terminal is powered off.
 
Be sure to identify the operating system of the handheld device to select the appropriate DataWedge.exe
file.
 
1) Log on to the terminal
a) Using File Explorer, browse to the share containing the above extracted files  
2) Copy the file
a) Select the correct version of the DataWedge.exe file by clicking on the file name.
b) Hold down the stylus on the file name to reveal the pop-up menu.
c) Tap [Copy] with the stylus.  
3) Paste the file
a) Browse to the \Windows\StartUp folder on the terminal.
b) Tap and hold a blank area of the window, tap Paste from the pop-up menu to finish the copy of
the DataWedge file to the terminal’s StartUp folder.  Installing the DataWedge utility into this
folder will insure the utility restarts during warm boots.  
4) Using the same copy and paste procedure above, copy both the DATAWEDGE.EXE and
DATAWEDGE.CPY files to the \Application folder on the terminal.  This is a non-volatile storage area
on the terminal for programs and applications.  Storing these files here will insure that the utility
program stays on the terminal and gets copied to the StartUp folder during a cold boot or after
recovering from a device loss of power.  
5) After copying the utility programs perform a warm boot on the terminal to make sure it automatically
starts.  A status icon will be displayed in the system tray after the utility is running.

 

by: sasllcPosted on 2010-08-04 at 14:27:59ID: 33361986

I am aware that you can programmatically scan without using datawedge, but I've never gotten involved in the code, so I don't know how to use it.  But what I'm getting at is this: when using datawedge, you can go to the 'decoders' setup and pick and choose which symbologies to read.  If you try to read a type of bar code that is not checked, then the laser will fire, but it will not read any data.

So I'm thinking that surely there is a similar type of configuration for situations where you don't use datawedge, but scan programmatically instead.  I don't know where or how you pick and choose which symbologies to read, but it may be that this new bar code you're encountering IS activated for datawedge, but is NOT activated for programmatic scanning.

 

by: cewensPosted on 2011-04-28 at 14:17:00ID: 35487362

i would like to know how i can get the upc code that is scan from scanwedge into my application

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...