Microsoft Visual Basic 6

Top  Previous  Next

Steps for Microsoft Visual Basic 6

 

 

 

1.        Start Microsoft Visual Basic and create a new project.

 

2.        On Project menu, choose Components or press Ctrl+T from the keyboard.

 

 

 

 

 

3.Select Control tab from the dialog, check "Gnostice PDFtoolkit ActiveX Control" check box from the list and click OK. Depending on the edition chosen by you a list of the controls will be visible. For more information see Editions of PDFtoolkit ActiveX.

 

 

 

 

 

4.        The "Gnostice PDFtoolkit" control gets installed and appears on the toolbox.

 

5.        Drop the control on the user form; you can add necessary code to manage a PDF document.

 

 

 

 

 

6.        Following is a sample code for loading and saving an existing document to a new file:

 

 

gtPDFDocumentX1.LoadFromFile ("Sample.pdf")

// Perform Any other desired operations here.

gtPDFDocumentX1.SaveToFile ("NewFile.pdf")