需要帮助创建条形码 [英] Need help in creating barcode

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

问题描述

大家好



我需要代码生成条形码才能阅读产品名称和价格..



i搜索谷歌但与结果混淆。



请帮助



谢谢

Hi all

I need code to generate barcode to read product name and price..

i searched google but confused with results.

please help

Thank you

推荐答案

请参阅,



条形码只是一种英语语言。

意味着我可以说出来只包含字符串或整数或混合。但是如果你想用它来识别你的产品,那么你必须为每个产生一个唯一的ID,这将导致产品及其价格。



意味着你只是必须以条形码语言存储您的产品ID。每当您阅读条形码时,它将提供产品ID,然后您必须在软件中编码以获取名称及其价格。



您可以获得帮助如何在CodeProject上创建条形码(并且阅读非常简单,只需在按下按钮时在文本框中键入ID)。



谢谢。
See,

Barcode is just a language like English.
Means I can say it just contain string or integer or mixed. But if you want to use it to identify your product, then you have to create one unique ID for each which will lead to product and it's price.

Means you just have to store your Product ID in barcode Language. And whenever you read your barcode it will provide a Product ID and then you have to Code in your Software to fetch the Name and it's price.

You can get helps how to create barcode (and ya reading is just very simple, it just types the ID in textbox when you press a button to read) on CodeProject.

Thanks.


安装

1 - 安装dll组件



将OnBarcode.Barcode.WinForms.dll复制到您的.NET项目文件夹。

不要将dll复制到.NET bin目录,.NET构建工具会这样做对于你。



将OnBarcode.Barcode.WinForms.dll添加到.NET项目参考。



添加.NET Windows窗体控件到.NET Visual Studio工具箱



右键单击.NET Visual Studio工具箱,选择菜单选择项目...



在选择工具箱项目表单中,单击浏览...按钮,然后选择d ll OnBarcode.Barcode.WinForms.dll。



选择后,你会在组件部分找到四个项目:LinearWinForm,DataMatrixWinForm,PDF417WinForm和QRCodeWinForm。 />


如何开始?

1.在.NET类中生成条形码



首先将OnBarcode.Barcode.WinForms.dll添加到.net项目参考。





线性条形码=新线性();

barcode.Type = BarcodeType.CODE39;

barcode.Data =0123456789;

barcode.drawBarcode(C://code39.png);



2.使用条形码窗口控件在Windows窗体上绘制条形码



安装.NET条形码Windows窗体控件。



拖放您的LinearWinForm,DataMatrixWinForm,PDF417WinForm和QRCodeWinForm组件.NET工具箱到.NET Windows窗体。





你可以找到dll文件f下面给出的链接





file:/// E:/project/OnBarcode.BarcodeGenerator .WinForms / Developer_Guide.html#s1





这是在网上打开它的完整信息的路径
Installation
1-Install dll Component

Copy OnBarcode.Barcode.WinForms.dll to your .NET project folder.
Do not copy dll to .NET bin directory, .NET build tools will do it for you.

Add OnBarcode.Barcode.WinForms.dll to .NET project reference.

Add .NET Windows Form Control to .NET Visual Studio Toolbox

Right click .NET Visual Studio Toolbox, select menu Choose Items...

In "Choose Toolbox Items" form, click button "Browse...", and select dll OnBarcode.Barcode.WinForms.dll.

After selection, you will find four items under "Components" section: LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm.

How to Start?
1. Generate barcodes in your .NET Class

First add OnBarcode.Barcode.WinForms.dll to .net project reference.


Linear barcode = new Linear();
barcode.Type = BarcodeType.CODE39;
barcode.Data = "0123456789";
barcode.drawBarcode("C://code39.png");

2. Draw barcodes on your Windows Forms using barcode windows form control

Install .NET Barcode Windows Form Control.

Drag and drop LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm components from your .NET toolbox to your .NET Windows Form.


You can find the dll file from the link given below


file:///E:/project/OnBarcode.BarcodeGenerator.WinForms/Developer_Guide.html#s1


This is the path for complete information open it on net


使用C#绘制UPC-A条形码 [ ^ ]

Barcode .NET Control [ ^ ]

WFF条码软件 [ ^ ]

在vb.net中创建条形码 [ ^ ]
Drawing UPC-A Barcodes with C#[^]
Barcode .NET Control[^]
WPF Barcode Software[^]
create barcode in vb.net[^]


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

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