you need to use third party api or dll for that. There are many available. Search a suitable one as per your requirements.
JsHunjan
MCP, MCAD
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Many bar code scanners simply work as keyboard wedges or can be set to be used as one.
When you scan an item with notepad open and having focus does it print out text?
If so just make sure in your application the users cursor has focus on a textbox and take the data from the reader and process it as you would any other string or integer in C#.
saju payyanu...
Member
38 Points
50 Posts
Bar Code Reader integration With Asp.net and C#
Aug 15, 2012 07:01 AM|LINK
Bar Code Reader integration With Asp.net and C# ,Any example Please Help..
shivanand G ...
Participant
1763 Points
534 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 15, 2012 07:33 AM|LINK
use the barcode reader api.... by api u can do operation....
before u need to add barcode api reference.
Thanks.
shivanand.G.N (shivu.betta@gmail.com)
JSHunjan
Member
513 Points
145 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 15, 2012 08:20 AM|LINK
you need to use third party api or dll for that. There are many available. Search a suitable one as per your requirements.
MCP, MCAD
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Frank Jiang ...
All-Star
16006 Points
1728 Posts
Microsoft
Re: Bar Code Reader integration With Asp.net and C#
Aug 20, 2012 05:22 AM|LINK
Use ASP.NET Barcode Generator Control SDK
http://www.onbarcode.com/tutorial/asp-net-barcode-generation.html
Feedback to us
Develop and promote your apps in Windows Store
catherine se...
Member
704 Points
186 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 20, 2012 05:44 AM|LINK
You can find a third-party barcode reader sdk. Check out this demo to see if it is what you are looking for.
Love Version Control and .NET Scanner SDK
DotNetWeasel
Member
62 Points
25 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 20, 2012 10:23 AM|LINK
You should really check if your barcode scanner supports OPOS.
You can then use the Microsoft Point of Service (POS for .NET) to interface with it.
Once you have it working you can then use your code with any barcode scanner that supports the OPOS standard (in theory!)
See: http://www.microsoft.com/en-gb/download/details.aspx?id=5355
DotNetWeasel
Member
62 Points
25 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 20, 2012 10:29 AM|LINK
Please note that my above post applies to Winforms applications and would not apply to webapps.
For webapps you could look at adding a prefix and suffix character to the barcode scanners configuration.
Then in Javascript add an event handler to focus the field where you want the barcode data to be entered in.
You could also listen for the suffix character and then do a postback if you needed.
Start by looking at your scanner's documentation and see if it supports prefix/suffix character programming.
Rajesh Sawan...
Participant
1612 Points
246 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 20, 2012 12:52 PM|LINK
Hi Friend,
You can generate the BARCODE in asp.net without using Font also.
Below is the Example where in barcode can be generated.
http://www.codeproject.com/Articles/14409/GenCode128-A-Code128-Barcode-Generator
The above simple example created an barcode image for the given text and
this image can then simply be used anywhere you required.
/*
try
{
Image myimg = Code128Rendering.MakeBarcodeImage(txtInput.Text, int.Parse(txtWeight.Text), true);
pictBarcode.Image = myimg;
}
*/
This contains the Code128Rendering using this Barcode image will get created.
barcode
//Happy Coding
Regards,
RajeshS.
rachel liu
Member
40 Points
6 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 21, 2012 07:41 AM|LINK
Here is demo C# code of integrating barcodes in ASP.NET,. You may need a third party control ,different control has triffic difference.
jprochazka
Contributor
4876 Points
740 Posts
Re: Bar Code Reader integration With Asp.net and C#
Aug 21, 2012 07:47 AM|LINK
Many bar code scanners simply work as keyboard wedges or can be set to be used as one.
When you scan an item with notepad open and having focus does it print out text?
If so just make sure in your application the users cursor has focus on a textbox and take the data from the reader and process it as you would any other string or integer in C#.