条形码扫描 [英] Barcode scan

查看:121
本文介绍了条形码扫描的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Windows应用程序中的条形码扫描器扫描条形码,并在文本框中显示代码。请帮助我实现它。如果可能,请提供示例代码。

I want to scan barcode using barcode scanner from my windows application and display the code in a textbox. Please help me to achieve it. If possible please give sample code.

推荐答案

首先需要检查的是扫描仪提供的软件支持,因为它可能已经提供了您需要的设施。
First thing you need to check is what software support is provided by your scanner, as it may already offer the facilities you require.


大多数条形码扫描仪通过模拟键盘输入来工作。因此,如果文本框具有输入焦点,则代码将自动进入自身。
Most barcode scanners work by simulating keyboard input. As such, provided the textbox has the input focus, the code will automatically enter itself.


您是否阅读过条形码扫描仪的文档?它是否提供API?

:)
Did you read the documentation of your barcode scanner? Does it provide an API?
:)


这篇关于条形码扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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