ByteScout BarCode Generator SDK - VBScript - 2 Captions for Barcode - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout BarCode Generator SDK – VBScript – 2 Captions for Barcode

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – VBScript – 2 Captions for Barcode

ByteScout BarCode Generator SDK – VBScript – 2 Captions for Barcode

HelloWorld.vbs


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



  Click here to get your Free Trial version of the SDK

Tutorials:

prev
next