We use cookies to provide you with the best experience and functionality on our website. By continuing to use the site, you are agreeing to our use of cookies.   

VisualBasicScript
Barcodes in projects

ActiveBarcode in VisualBasicScript (Windows Scritping Host)

You can use ActiveBarcode with VisualBasic-Script (VBS, Windows Scripting Host) to create barcodes in scripts automatically. Here we show you how simple is it to use ActiveBarcode in VBS.

First make the ActiveBarcode control available in your script:

Dim barcode
Set barcode = WScript.CreateObject("BARCODE.BarcodeCtrl.1")
Now you can use the variable 'barcode' to access the control. Use the Properties of the control to create the barcode you want:
barcode.Typename = "Code128"
barcode.Text = "123456789012"
Then use the 'SaveAs' method to save the barcode as an image file:
barcode.SaveAs("examplebarcode.png")
To learn more about this, please have a look at the VisualBasic-Script application 'barcodeimage.wsf' that is included in the ActiveBarcode package. You can use this source code for learning purposes or use it as a start for your own scripts.

This manual was created by Frank Horn

Search this site with Bing:
| Home | Shop | Download | E-Mail | Datenschutz | Imprint | Version 6.1.0 |
Web DesignszCWs 2.1.5.757
Web design & developement:
www.frank-horn.com

Copyright
Frank HornActiveBarcode Generator App
Web design
Documentation
Copyright Frank Horn
&
Lars SchenkActiveBarcode Object
Web- & server component
Command line
Copyright Lars Schenk

All trademarks and product names mentioned are the property of their respective owners.