An easy to understand sample source code to learn how to command line use with barcode sdk in VBScript ByteScout Premium Suite: the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can command line use with barcode sdk in VBScript.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VBScript code from ByteScout Premium Suite for command line use with barcode sdk below and use it in your application. IF you want to implement the functionality, just copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Applying VBScript application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
If you want to try other source code samples then the free trial version of ByteScout Premium Suite is available for download from our website. Just try other source code samples for VBScript.
if WScript.Arguments.Count < 1 Then WScript.Echo "Set barcode value as command line parameter: " & vbCRLF & vbCRLF & "GenerateQRCode.vbs <value>" WScript.Quit 0 End If ' Create and activate QRCode instance Set barcode = CreateObject("Bytescout.BarCode.Barcode") barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' Set barcode type barcode.Symbology = 16 ' 16 = QRCode symbology ' Set barcode value from the command line parameter barcode.Value = WScript.Arguments(0) ' Save barcode image to file barcode.SaveImage("result.png") Set barcode = Nothing
REM running from the command line cscript.exe GenerateQRCode.vbs "ABCDEFGHIJKLMNOP1234567890" pause