I use barcode scanners almost daily. The USB does indeed work like the PS/2. Most of the scanners are programmable as well. What I have found is inserting a tab after the bar code allows you to capture a lost focus event.
Try some testing. Create a form with a textbox. Make sure the textbox has the focus then scan the barcode. If there are other issues you are trying to resolve, please post them. On Tue, Sep 23, 2008 at 2:26 AM, Arsalan Tamiz <[EMAIL PROTECTED]> wrote: > Normally PS/2, barcode scanners send keystrokes. Which means when you > scan the code, it comes in like someone typing the barcode through keyboard. > Usually it ends on CrLf. > > And I haven't used the USB barcode scanners. Maybe they work in the same > manner. > > On Mon, Sep 22, 2008 at 4:18 AM, Badawi <[EMAIL PROTECTED]> wrote: > >> >> Hi all of you, >> >> I'm a newbie in C#.NET development and i need help in handling barcode >> scanners within C# application. >> How i can read barcodes from a barcode scanner (both types USB and PS/ >> 2)? >> And if there is a way to read barcodes independently on the scanner >> type (USB or PS/2), i will be so happy to know. >> >> thanks in advance, >> Badawi >> >> >> > > > > -- _______________________________ Take care, Paul It is not we non-interventionists who are isolationists. The real isolationists are those who impose sanctions and embargos on countries and peoples across the globe and who choose to use force overseas to promote democracy. A counterproductive approach that actually leads the U.S. to be more resented and more isolated in the world. Dr. Ron Paul www.RonPaul2008.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
