Control for Making QR Code Bar Code
Hey, I need a custom control for Windows Forms programming. In my project, a graphics object carrying a dynamic 2D QR Code need to be generated on the form. I'm not sure if there is any custom control could be used to make this happen. If any recommendation, the SDK should be compatible with C# window forms.
Sapna GirishPosted Dec 17, 2019, 7:18 PM
Janat AlJamalPosted Dec 17, 2019, 10:59 AM
jack mayPosted Oct 29, 2014, 11:03 PM
C# Sample code
using KeepAutomation.Barcode.Bean;
BarCode qrcode = new BarCode();
qrcode.Symbology = KeepAutomation.Barcode.Symbology.QRCode;
qrcode.QRCodeVersion = KeepAutomation.Barcode.QRCodeVersion.V10;
qrcode.QRCodeECL = KeepAutomation.Barcode.QRCodeECL.M;
qrcode.CodeToEncode = "0123456789";
qrcode.X = 3;
qrcode.Y = 3;
qrcode.TopMargin = 12;
qrcode.BottomMargin = 12;
qrcode.LeftMargin = 12;
qrcode.RightMargin = 12;
qrcode.QRCodeDataMode = KeepAutomation.Barcode.QRCodeDataMode.Auto;
qrcode.generateBarcodeToImageFile("c://qrcode-csharp.png");
VB Sample code
Dim qrcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
qrcode.Symbology = KeepAutomation.Barcode.Symbology.QRCode
qrcode.QRCodeVersion = KeepAutomation.Barcode.QRCodeVersion.V10
qrcode.QRCodeECL = KeepAutomation.Barcode.QRCodeECL.M
qrcode.CodeToEncode = "0123456789"
qrcode.X = 3
qrcode.Y = 3
qrcode.TopMargin = 12
qrcode.BottomMargin = 12
qrcode.LeftMargin = 12
qrcode.RightMargin = 12
qrcode.generateBarcodeToImageFile("c:/qrcode-vbnet.png")
amy whitePosted Jul 30, 2014, 10:23 PM
By the way, google chart API may be also an option.
nathan richPosted Oct 9, 2013, 10:19 PM
DANNY jacabooPosted Sep 15, 2013, 11:21 PM
Posted Sep 5, 2013, 4:46 AM
i know a website about barcode generator, for i used their qr code .net winforms control, if still do not know how to do,you can refer the guide for how to generate barcode in .net winforms
arron leePosted Aug 28, 2013, 4:10 AM
1,Install C# window forms Barcode Control;
2,Add C# window forms Barcode Control onto your .NET Visual Studio Toolbox;
3,Copy "qrcode.aspx" and "qrcode.aspx.cs" to the folder where your aspx pages are generating barcodes;
4,Drag and drop a fine 3rd party QR Code control into the Forms;
5,Run the website and you will see a barcode image generated;
I hope it helps. Good luck.
Best regards,
Arron
hong diPosted Jun 5, 2013, 10:59 PM
http://www.c-sharpcorner.com/uploadfile/krishnasarala/generating-barcode-in-C-Sharp/
or use this licensed .NET WinForms QR Code barcode generator library
Peter AndersonPosted May 1, 2013, 10:01 PM
harl doofPosted Jan 31, 2013, 3:35 AM
max smithPosted Aug 15, 2012, 2:33 AM