ByteScout PDF SDK - VBScript and VB6 - Fill Fields in PDF Form - ByteScout

ByteScout PDF SDK – VBScript and VB6 – Fill Fields in PDF Form

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF SDK – VBScript and VB6 – Fill Fields in PDF Form

fill fields in PDF form in VBScript and VB6 with ByteScout PDF SDK

Tutorial: how to do fill fields in PDF form in VBScript and VB6

The documentation is designed to help you to implement the features on your side. ByteScout PDF SDK was made to help with fill fields in PDF form in VBScript and VB6. ByteScout PDF SDK is the pdf library that can create, update and modify PDF files. Supports text with fonts and style selections, layers, form fields, drawing lines and objects, automatic tables, images. Can be used to create and fill pdf forms.

This rich sample source code in VBScript and VB6 for ByteScout PDF SDK includes the number of functions and options you should do calling the API to implement fill fields in PDF form. Follow the instruction from the scratch to work and copy and paste code for VBScript and VB6 into your editor. Enhanced documentation and tutorials are available along with installed ByteScout PDF SDK if you’d like to dive deeper into the topic and the details of the API.

ByteScout PDF SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

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

Fill Form.vbs
      
' This example demonstrates how to fill PDF form programmatically. ' Create Bytescout.PDF.Document object Set pdfDocument = CreateObject("Bytescout.PDF.Document") pdfDocument.RegistrationName = "demo" pdfDocument.RegistrationKey = "demo" ' Load PDF form pdfDocument.Load("form.pdf") Set page = pdfDocument.Pages.Item(0) ' Get widget by its name and change value page.Annotations.Item_2("editBox1").Text = "Test 123" page.Annotations.Item_2("editBox2").Text = "Test 456" page.Annotations.Item_2("checkBox1").Checked = True ' Save document to file pdfDocument.Save("result.pdf") ' Open document in default PDF viewer app Set shell = CreateObject("WScript.Shell") shell.Run "result.pdf", 1, false

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

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout PDF SDK page

Explore ByteScout PDF SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next