The sample source codes on this page shows how to command line use in VBScript and VB6. ByteScout QR Code is QR Code barcode generator SDK with tunnable quality and features like QR Code embedded logo or images. Supports batch generation and specialized features like encoding of vCard and other structures inside QR Code barcodes and you can use it to command line use with VBScript and VB6.
The SDK samples like this one below explain how to quickly make your application do command line use in VBScript and VB6 with the help of ByteScout QR Code. Follow the instructions from the scratch to work and copy the VBScript and VB6 code. Detailed tutorials and documentation are available along with installed ByteScout QR Code if you’d like to dive deeper into the topic and the details of the API.
Trial version of ByteScout QR Code is available for free. Source code samples are included to help you with your VBScript and VB6 app.
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.QRCode") barcode.RegistrationName = "demo" barcode.RegistrationKey = "demo" ' 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