ByteScout BarCode Generator SDK - VB.NET - GS1 QR Code - ByteScout

ByteScout BarCode Generator SDK – VB.NET – GS1 QR Code

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VB.NET – GS1 QR Code

gs1 QR code in VB.NET with ByteScout Barcode SDK

Tutorial: how to do gs1 QR code in VB.NET

These source code samples are listed and grouped by their programming language and functions they use. ByteScout Barcode SDK was made to help with gs1 QR code in VB.NET. ByteScout Barcode SDK is the robost SDK that generates high quality barcode images and pdf. Can generate all popular types of barcodes from QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix to more exotic barcode types. Fully customizable fonts, colors, print sizes. Includes special functions to ensure output quality, and tools for adding barcodes to new or existing pdf files and images.

This rich sample source code in VB.NET for ByteScout Barcode SDK includes the number of functions and options you should do calling the API to implement gs1 QR code. Follow the instruction from the scratch to work and copy and paste code for VB.NET into your editor. You can use these VB.NET sample examples in one or many applications.

ByteScout Barcode SDK is available as free trial. You may get it from our website along with all other source code samples for VB.NET applications.

Try it today: Get 60 Day Free Trial or sign up for Web API

GS1QRCode.sln
      
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27703.2026 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "GS1QRCode", "GS1QRCode.vbproj", "{375CB266-4769-4E60-9A0A-F60C1CF83381}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {375CB266-4769-4E60-9A0A-F60C1CF83381}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {375CB266-4769-4E60-9A0A-F60C1CF83381}.Debug|Any CPU.Build.0 = Debug|Any CPU {375CB266-4769-4E60-9A0A-F60C1CF83381}.Release|Any CPU.ActiveCfg = Release|Any CPU {375CB266-4769-4E60-9A0A-F60C1CF83381}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {10025AB5-F050-4E30-97FA-C797FAB5A41F} EndGlobalSection EndGlobal

Try it today: Get 60 Day Free Trial or sign up for Web API

GS1QRCode.vbproj
      
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{375CB266-4769-4E60-9A0A-F60C1CF83381}</ProjectGuid> <OutputType>Exe</OutputType> <StartupObject>GS1QRCode.Program</StartupObject> <RootNamespace>GS1QRCode</RootNamespace> <AssemblyName>GS1QRCode</AssemblyName> <FileAlignment>512</FileAlignment> <MyType>Console</MyType> <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <DefineDebug>true</DefineDebug> <DefineTrace>true</DefineTrace> <OutputPath>bin\Debug\</OutputPath> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> <DebugType>pdbonly</DebugType> <DefineDebug>false</DefineDebug> <DefineTrace>true</DefineTrace> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> </PropertyGroup> <PropertyGroup> <OptionExplicit>On</OptionExplicit> </PropertyGroup> <PropertyGroup> <OptionCompare>Binary</OptionCompare> </PropertyGroup> <PropertyGroup> <OptionStrict>Off</OptionStrict> </PropertyGroup> <PropertyGroup> <OptionInfer>On</OptionInfer> </PropertyGroup> <ItemGroup> <Reference Include="Bytescout.BarCode, Version=4.80.0.993, Culture=neutral, PublicKeyToken=f7dd1bd9d40a50eb, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>c:\Program Files\Bytescout BarCode Generator SDK\net2.00\Bytescout.BarCode.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Deployment" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Import Include="Microsoft.VisualBasic" /> <Import Include="System" /> <Import Include="System.Collections" /> <Import Include="System.Collections.Generic" /> <Import Include="System.Data" /> <Import Include="System.Diagnostics" /> </ItemGroup> <ItemGroup> <Compile Include="Program.vb" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" /> </Project>

Try it today: Get 60 Day Free Trial or sign up for Web API

Program.vb
      
Imports Bytescout.BarCode Module Program Sub Main() Try ' Create and activate barcode generator instance Using barcode As Barcode = New Barcode("demo", "demo") ' Set barcode type barcode.Symbology = SymbologyType.GS1_QRCode ' GS1 QR Code requires a value that is formatted according to GS1 specification. barcode.Value = "(01)07046261398572(17)130331(10)TEST5632(21)19067811811" ' Save barcode to image file barcode.SaveImage("result.png") End Using Catch ex As Exception Console.WriteLine(ex.Message) End Try ' Show image in default image viewer Process.Start("result.png") End Sub End Module

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next