Code for Demo code of creating barcodes in asp.net using vb.net in VB.Net
Dim barcode As Terrek.Barcode.DotNET.DotNETControl = New Terrek.Barcode.DotNET.DotNETControl
'Set barcode type, encode data, resize and UOM properties
barcode.Symbol = Terrek.Barcode.BarcodeSymbol.QRCode
barcode.BarcodeData = "Terrek_QR_Code_VB.NET"
barcode.ImageResize = True
barcode.MeasuringUnit = Terrek.Barcode.MeasuringUnit.PIXEL
'Special setting of QR Code
barcode.Tilde = False
barcode.QRCodeDataMode= Terrek.Barcode.QRCodeDataMode.Auto
barcode.FNC1 = Terrek.Barcode.FNC1.FNC1_0
barcode.QRCodeECL = Terrek.Barcode.QRCodeECL.H
barcode. QRVersion = Terrek.Barcode.QRCodeVersion.V11
'Define how the bars are placed in a barcode image
barcode.BarAlign = Terrek.Barcode.BarAlign.Center
' QR Code module width and height
barcode.BarWidth = 1
barcode.BarHeight = 40
' Specify QR Code barcode image
barcode.DotsPerInch = 96
barcode.Rotation = Terrek.Barcode.Rotation.Degree0
barcode.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png
barcode.SaveAsImage("C:\qr_code.png")
' Specify QR Code barcode image color
barcode.ImageColor = Color.White
barcode.BarColor = Color.Black
Drawing & printing barcode to .NET Graphics, Stream & Bitmap Objects
PublicSub drawBarcode(ByRef graphics As Graphics)
PublicSub drawBarcode(ByVal filename AsString)
PublicFunction drawBarcode() As Bitmap
PublicSub drawBarcode(ByRef fileStream As Stream)