Barcode Generator SDK Info and Code Samples - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

BarCode Generator SDK

  • Home
  • /
  • BarCode Generator SDK
Output barcodes PNG images (Code 39 and Aztec 2D barcodes): The following sample demonstrates how to use Barcode SDK with Visual Basic 6 to generate 1D and 2D barcodes and save into PNG images. Bytescout BarCode SDK can be called from both Visual Basic .NET (as .NET assembly) and Visual Basic 6 (as ActiveX library control). Form1.frm content: VERSION 5.00 Begin VB.Form Form1 Caption = "Form1" ClientHeight = 2400 ClientLeft = 45 ClientTop = 435 [...]
Output barcodes (Code 39 and Aztec 2D barcodes): This sample demonstrates the VBScript code to use Barcode SDK from vbscript to generate 1D and 2D barcodes. Bytescout BarCode SDK can be called from both Visual Basic .NET (as .NET assembly) and ActiveX compatible languages like Javascript, VBScript, Visual Basic 6 and other. HelloWorld.vbs content: Set bc = CreateObject("Bytescout.BarCode.Barcode") ' display information about Code39 symbology msgbox "Encoding '012345' using Code39 symbology" & vbCRLF & bc.GetValueRestrictions(0) ' [...]
Output barcodes (Code 39 and Aztec 2D barcodes): The following sample provides a sample .JS javascript code to use Barcode SDK from javascript to generate 1D and 2D barcodes. Bytescout BarCode SDK can be called from both Visual Basic .NET (as .NET assembly) and ActiveX compatible languages like Javascript, VBScript, Visual Basic 6 and other. HelloWorld.js content: var bc = WScript.CreateObject('Bytescout.BarCode.Barcode'); // set symbology to Code39 bc.Symbology = 1; // 1 = Code39 symbology type [...]
The following sample demonstrates how to use Barcode image control in Visual C# (C sharp) WinForms applications: When using Bytescout.BarCodeControl in a Windows application, you just need to copy the Bytescout.BarCode.dll file to your application's directory and add a reference to Bytescout.BarCode component in your project references. The following example illustrates how you can set properties of BarcodeControl control with C# BarCode Generator. This example requires that BarcodeControl with barcodeControl1 name is added to a [...]
Bytescout BarCode SDK provides both web image control and non-visual class to generate barcode as images (which can be saved as a stream or a file)The following sample code below shows how to generate barcode image in PNG image format and output as a file attachment to the visitor from ASP.NET code:ASP.NET (Visual Basic code) Imports System.Drawing.ImagingImports Bytescout.BarCodePartial Class _Default Inherits System.Web.UI.PageProtected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Create [...]
The following sample demonstrates how to use BarcodeWebImage1 control from Bytescout.BarCode SDK in ASP.NET application. BarcodeWebImage control is able to display barcodes in your ASP.NET application without temporary files required. Just add BarcodeWebImage control into Design mode in your ASP.NET application and set its properties and barcode will be displayed automaticallyBarcode web control allows to generate/draw/save barcodes at server and serve it as an image without temporary files required.See BarcodeWebImage control online help documentation for [...]
Reporting often contains barcodes within it. ByteScout Barcode SDK provides easy to use and fast barcode generation with support to almost all types of barcodes. In this article we'll review how to add barcodes when generating RDLC reports using ByteScout Barcode SDK. Prerequisites: Bytescout Barcode SDK Microsoft .NET Framework 2.0 (or greater) Microsoft Visual Studio 2005 (or greater) or Visual Web Developer 2005 Express Edition (or greater) Microsoft SQL Server 2005 (any version) or greater [...]
Barcode Generator SDK adds high-quality barcode generation (Code 128 to QR Code) into your application  Key Benefits Generate high-quality barcode images linear Code 39, Code 128 to UPC, EAN 13, GS1 128, and dozens of others 2d barcodes QR Code, MicroQR, Datamatrix, PDF 417, and many others; Works offline, no Internet connection required; Built-in verification and pre-validation of generated barcodes to make sure your printed barcodes will be readable after printing; Battle-tested on hundreds of [...]