ByteScout QR Code SDK - VBScript and VB6 - Command Line Use - ByteScout

ByteScout QR Code SDK – VBScript and VB6 – Command Line Use

  • Home
  • /
  • Articles
  • /
  • ByteScout QR Code SDK – VBScript and VB6 – Command Line Use

How to command line use in VBScript and VB6 using ByteScout QR Code

This tutorial will show how to command line use in VBScript and VB6

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.

Try it today: Get 60 Day Free Trial or sign up for Web API

GenerateQRCode.vbs
      
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

Try it today: Get 60 Day Free Trial or sign up for Web API

run.bat
      
REM running from the command line cscript.exe GenerateQRCode.vbs "ABCDEFGHIJKLMNOP1234567890" pause

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout QR Code page

Explore ByteScout QR Code documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next