We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Use aspose.pdf.kit in Visual Basic 6 to populate form and save under different file name


I would like to use visual basic 6 to open an existing pdf file with form fields. I have a data to enter into the fields from database. I would like to enter the data into the fields with aspose.pdf.kit commands.

such as:

open pdf file

populate fields with data

save pdf under new name

Is it possible to use aspose.pdf.kit with Visual Basic 6.?Could you provide sample code?

thank you,


Dear Dave,

Thanks for considering Aspose.Pdf.Kit.

Our product is exactly what you want according to your requirement description. It supports fill/ both C# and VB.NET. Please refer to our [wiki ](http://www.aspose.com/Wiki/default.aspx/Aspose.Pdf.Kit/HowToFillFieldWithAPI.html)for more details and samples.

Best regards.

The samples I find are for VB.NET not visual basic 6.

Do you have examples for Visual Basic 6 using Com?

Dear SiemensDixon,

I am afraid we have no such examples. Only Java/C#/VB.NET are supported. Sorry for the inconvenience.

Best regards.

Hi SiemensDixon,

Please refer to [Use Aspose.Pdf in COM Applications ](http://www.aspose.com/Wiki/default.aspx/Aspose.Pdf/UsingInCOMApplications.html). It is another product but you can write the code like that.

We are customers using the Aspose word product from a few years ago.

We would like to purchase and use aspose.pdf.kit to populate form fields in an existing pdf.

We use a Cincom product called Socrates it's a COM based system and is not .NET.

If we can get the aspose.pdf.kit to work under VB6, I think we could use similar syntax to get it to work under Socrates (since both are COM based).

We use aspose.word like this (using visual basic 6 syntax):

Dim Doc
Set word = CreateObject("Aspose.Word.Word")
Set Doc = word.open("c:\test1.doc")

We tried to use Aspose.pdf.pdf like this:

Dim Pdf1
Dim Pdoc
Set Pdf1 = CreateObject("Aspose.Pdf.Pdf")
Set Pdoc = Pdf1.open("c:\test.pdf")

The open using Aspose.Word.Word works. However, the open using the Aspose.pdf.pdf fails gives the error: Object does not support this property or method. It doesn't appear that Aspose.pdf.pdf has an open method. How do I open an existing pdf file?

Can I open an existing PDF file and populate form fields from visual basic 6?

How do I figure out the syntax and commands?

Thank you,



Please refer to the Aspose.Pdf documentation (http://www.aspose.com/Wiki/Default.aspx/Aspose.Pdf/) and Aspose.Pdf API (http://www.aspose.com/Products/Aspose.Pdf/Api/Aspose.Pdf.html) reference for more information.


Dear Dave,

Aspose.Pdf.Pdf dose not have a method Open(). If you want to edit existing Pdf please use Aspose.Pdf.Kit.

I have tried to use aspose.pdf.kit to open an existing pdf file, update form fields and save under a new pdf file name under an envrionment that consumes COM objects (not .NET). If you would care to supply step by step instructions I'd like to purchase and use your product.


OK, Can you please tell us, were you be able to setup and open existing Pdf using Aspose.Pdf.Kit?


Does aspose.pdf.kit work with COM?

I am using Visual Basic 6 and would like to use the FormEditor, will this work?


Hello Scott,

As replied in post 133005 did you tried using Aspose.Pdf.Kit in COM applications.

For reference purpose you may consult
http://msdn.microsoft.com/en-us/library/aa719110.aspx http://www.vbdotnetheaven.com/UploadFile/mgold/CsharpCompInVBthroughCOM04082005083037AM/CsharpCompInVBthroughCOM.aspx

I am adding the code needed to my already asposecomwrapper that I created for aspose.words.


Hello Scott,

I cannot find any code files attached with your post. can you please check.