ByteScout BarCode Generator SDK - VB.NET - QR Code With JSON - ByteScout

ByteScout BarCode Generator SDK – VB.NET – QR Code With JSON

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

QR code with JSON in VB.NET with ByteScout Barcode SDK

Make QR code with JSON in VB.NET

:

Tutorial on how to do QR code with JSON in VB.NET

We’ve created and updating regularly our sample code library so you may quickly learn QR code with JSON and the step-by-step process in VB.NET. ByteScout Barcode SDK was made to help with QR code with JSON 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.

VB.NET, code samples for VB.NET, developers help to speed up the application development and writing a code when using ByteScout Barcode SDK. VB.NET sample code is all you need: copy and paste the code to your VB.NET application’s code editor, add a reference to ByteScout Barcode SDK (if you haven’t added yet) and you are ready to go! Code testing will allow the function to be tested and work properly with your data.

Visit our website provides for free trial version of ByteScout Barcode SDK. Free trial includes lots of source code samples to help you with your VB.NET 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.QRCode ' Set JSON string as a value barcode.Value = "{ 'name':'John', 'age':30, 'cars':[ 'Ford', 'BMW', 'Fiat' ] }" ' 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

QRCodeWithJSON.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}") = "QRCodeWithJSON", "QRCodeWithJSON.vbproj", "{D99C0B83-D4EE-4D8B-80D9-71C50532B65E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {D99C0B83-D4EE-4D8B-80D9-71C50532B65E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D99C0B83-D4EE-4D8B-80D9-71C50532B65E}.Debug|Any CPU.Build.0 = Debug|Any CPU {D99C0B83-D4EE-4D8B-80D9-71C50532B65E}.Release|Any CPU.ActiveCfg = Release|Any CPU {D99C0B83-D4EE-4D8B-80D9-71C50532B65E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {BF87DB5F-C60B-4DF6-AA8A-44C646A38442} EndGlobalSection EndGlobal

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

QRCodeWithJSON.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>{D99C0B83-D4EE-4D8B-80D9-71C50532B65E}</ProjectGuid> <OutputType>Exe</OutputType> <StartupObject>QRCodeWithJSON.Program</StartupObject> <RootNamespace>QRCodeWithJSON</RootNamespace> <AssemblyName>QRCodeWithJSON</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

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