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

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

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

Write code in VB.NET to make QR code with calenderentry with this How-To tutorial

The documentation is designed to help you to implement the features on your side. ByteScout Barcode SDK was made to help with QR code with calenderentry in VB.NET. ByteScout Barcode SDK is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images.

VB.NET code snippet like this for ByteScout Barcode SDK works best when you need to quickly implement QR code with calenderentry in your VB.NET application. This VB.NET sample code should be copied and pasted into your application’s code editor. Then just compile and run it to see how it works. This basic programming language sample code for VB.NET will do the whole work for you in implementing QR code with calenderentry in your app.

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.

Program.vb
      
Imports Bytescout.BarCode Module Program Sub Main() Try ' Create new barcode Dim barcode As Barcode = New Barcode ' Set symbology barcode.Symbology = SymbologyType.QRCode ' Get QRCode value in CalenderEntry format barcode.Value = GetCalenderEntryFormatText() ' Save barcode to image barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") Catch ex As Exception Console.WriteLine("Error: " + ex.Message) Console.WriteLine("Press enter key to exit...") Console.ReadLine() End Try End Sub ''' <summary> ''' Return Calender Entry Format ''' </summary> ''' <returns></returns> Private Function GetCalenderEntryFormatText() As String Return "BEGIN:VCALENDAR BEGIN:VEVENT DTSTART:20181113T100000Z DTEND:20181113T150000Z SUMMARY:New Calendar Entry DESCRIPTION:Description Text LOCATION:Chicago RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 END:VEVENT END:VCALENDAR" End Function End Module

QRCodeWithCalenderEntry.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>QRCodeWithCalenderEntry.Program</StartupObject> <RootNamespace>QRCodeWithCalenderEntry</RootNamespace> <AssemblyName>QRCodeWithCalenderEntry</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> <DocumentationFile>QRCodeWithCalenderEntry.xml</DocumentationFile> <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> <DocumentationFile>QRCodeWithCalenderEntry.xml</DocumentationFile> <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 Reader SDK\net2.00\Bytescout.BarCodeReader.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>

READ MORE

Visit ByteScout Barcode SDK page or

explore documentation

GET YOUR 90 DAY FREE

https://bytescout.com/download/web-installer

Tutorials:

prev
next