The sample source code below will teach you how to set 2 captions for barcode with barcode sdk in VBScript. Want to set 2 captions for barcode with barcode sdk in your VBScript app? ByteScout Barcode Suite is designed for it. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK).
These VBScript code samples for VBScript guide developers to speed up coding of the application when using ByteScout Barcode Suite. Simply copy and paste in your VBScript project or application you and then run your app! Use of ByteScout Barcode Suite in VBScript is also described in the documentation included along with the product.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
Set bc = CreateObject("Bytescout.BarCode.Barcode") ' set symbology to Code39 bc.Symbology = 1 ' 1 = Code39 symbology type ' set barcode value to encode bc.Value = "012345" bc.AdditionalCaption = "2nd caption" bc.SaveImage "Code39.png" ' Open the output file in default app Set shell = CreateObject("WScript.Shell") shell.Run "code39.png", 1, false Set shell = Nothing Set bc = Nothing