ByteScout tutorials describe the stuff for programmers who use VBScript and VB6. ByteScout Document Parser SDK helps with parsing and reading data from airline tickets in VBScript and VB6. ByteScout Document Parser SDK is the template based data extraction engine can process thousands and millions of documents per day based on templates. Can work online and offline for privacy focused tasks. Templates can be supported and updated without any programming or technical knowledge required. Output is generated in JSON, CSV, XML and custom format if required.
The below SDK samples describe how to quickly make your application do parsing and reading data from airline tickets in VBScript and VB6 with the help of ByteScout Document Parser SDK. To use parsing and reading data from airline tickets in your VBScript and VB6 project or application just copy & paste the code and then run your app! This basic programming language sample code for VBScript and VB6 will do the whole work for you in implementing parsing and reading data from airline tickets in your app.
ByteScout Document Parser SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.
' This example demonstrates document data parsing to JSON and YAML formats. templatesDocument = "..\..\_Sample Templates\SampleTicket.yml" inputDocument = "..\..\SampleTicket.pdf" ' Create DocumentParser object Set documentParser = CreateObject("Bytescout.DocumentParser.DocumentParser") documentParser.RegistrationName = "demo" documentParser.RegistrationKey = "demo" ' Loading template... documentParser.AddTemplate templatesDocument ' Parse document data in JSON format documentParser.ParseDocument inputDocument, "output1.json", 0 ' 0 = OutputFormat.JSON ' Parse document data in YAML format documentParser.ParseDocument inputDocument, "output2.yaml", 1 ' 1 = OutputFormat.YAML WScript.Echo "Parsed data saved as 'output1.json' and 'output2.yaml'." Set documentParser = Nothing