如何使用c#.net条形码请帮助我 [英] how to use barcode with c# .net please help me

查看:79
本文介绍了如何使用c#.net条形码请帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写(C#.net中的代码)来读取条形码?



i我在c#.net中设计一个程序,我需要用条形码连接它



请帮帮我

解决方案

CP中有很多文章。



您可以从此处 [ ^ ]。



您可以使用现有的条形码库。有关链接,请单击此处 [ ^ ]。



你可以从这里开始:

带.Net Compact Framework的条码扫描器 [ ^ ]



ASP.NET应用程序中的条形码 [ ^ ]


Google 使用C#.NET代码生成条形码



我使用的是VB.NET代码,所以也许你可以使用一些VB.NET-to-C#代码转换器来获取C#代码



http://www.devasp.net/net/articles/display <一个href =http://www.barcodelib.com/vb_net/> /条形码生成


将光标放在表单的文本框中,然后阅读条形码使用Reader,



代码将出现在文本框中。如果条形码阅读器通过USB类型连接..





如果阅读器通过串口保护连接。

将com控件(SerialProt)从工具箱拖到表单。

使用串口的DataRecieved事件并编写serialport.ReadLine()或ReadExisting()等来从缓冲区中读取条形码。 / BLOCKQUOTE>

how to write ( code in C#.net) for reading barcode?

i am designing a program in c#.net and i need to connect it with barcode

Please help me

解决方案

There are lots of articles in CP.

You can look at from here[^].

There is an existing barcode library which you use. For the link click here[^].

You can start from here:
Barcode Scanners with the .Net Compact Framework[^]

Barcodes in ASP.NET applications[^]


Google generate barcode using C#.NET code

I am using VB.NET code, so maybe you can use some VB.NET-to-C# code convertor to get C# code

http://www.devasp.net/net/articles/display/barcode-generation


Put your cursor in a text box in your form, then Just Read the barcode using Reader ,

code will come in text box. if the barcode Reader is connected via USB type..


IF the Reader is connected via serial prot.
Drag the com control (SerialProt) from toolbox to your form.
use serial port's DataRecieved event and write serialport.ReadLine() or ReadExisting() etc. to read the barcode from the buffer.


这篇关于如何使用c#.net条形码请帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆