.NET紧凑框架-条码扫描器

发布于 2024-09-03 06:44:55 字数 184 浏览 4 评论 0原文

我有一台装有 Windows Mobile 6.5 的 Motorola MC55。这个漂亮的手掌还包含一个嵌入式条形码扫描仪。我的问题是 - 为了使用条形码扫描仪,我需要 .NET CF 中的任何特殊功能吗?我希望条形码被读取为普通字符串并作为键盘事件传递?是否需要任何特殊的 .NET CF 库?

感谢

多米尼克的帮助

I have Motorola MC55 with Windows Mobile 6.5 on-board. This nice palm contains also an embedded bar-code scanner. My question is - Will I need anything special in .NET CF in order to use the bar-code scanner? I would expect that the bar-code are read as normal strings and delivered as keyboard events? Is any special .NET CF library necessary?

Thanks for help

Dominik

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

我们的影子 2024-09-10 06:44:55

这完全取决于您想要实现的目标。

基于Windows Mobile的手持式条码扫描仪通常附带一个软件,可以将条码模块输出转换为击键——您可以将其放入自动运行文件夹中,然后处理文本框中的文本输入。

或者,通常有一个 SDK,其中包含您可以直接连接扫描仪并拥有所有附加信息(条形码类型、二进制数据等)的库。

我们这里使用MC9090,我们采用的是SDK方式。就像魅力一样。可下载 SDK 搜索表单并搜索“SDK” 。

That entirely depends on what you want to achieve.

Handheld barcode scanners based on Windows Mobile usually come with a piece of software that translates barcode module output to keystrokes -- you can put it in the autorun folder and then handle text input in your textbox.

Alternatively, there's usually an SDK that contains libraries with which you can hook the scanner directly and have all the additional information (type of the barcode, binary data etc).

We use MC9090 here, and we went the SDK way. Works like a charm. The SDK can be dowloaded here. If the link doesn't work (I had to crop it), go to the seach form and search for "SDK".

小霸王臭丫头 2024-09-10 06:44:55

通常,对于 Motorola(早期的 Symbol)扫描仪,有一组用于 Comapact 框架的库(包括示例)。

我们与客户(不仅是摩托罗拉)经常使用移动设备,如果可能的话,我强烈建议不要使用键盘模拟,因为当有多个输入字段(或根本没有输入字段)时,您会遇到麻烦。此外,当您通过键盘模拟获取条形码时,您将无法检测到条形码中的特殊字符。

GSerg 在他的回答中提供了 SDK 的链接。我强烈建议使用 SDK,因为它还提供对其他设备功能的访问。

Usually, for Motorola (earlier Symbol) scanners there's a set of libraries for the Comapact Framework including samples.

We use mobile devices a lot with our customers (not only Motorola) and I strongly advise against using keyboard emulation if possible, as you will run into trouble when there are multiple input fields (or no input fields at all). Also, you will not be able to detect special characters within barcodes when you get them through keyboard emulation.

Link to SDK is provided by GSerg in his answer. I strongly recommend using the SDK as it provides access to other device functionality as well.

我最亲爱的 2024-09-10 06:44:55

这些设备有一个实用程序,名为 DataWedge,可让您将内置扫描仪视为键盘设备。

There's a utility for these devices called DataWedge that lets you treat the built-in scanner as a keyboard device.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文