Skip to main content
Participant
January 12, 2007
Question

Show PDF File in Windows Form using Visual Basic 2005

  • January 12, 2007
  • 39 replies
  • 26790 views
Hello.

I am a developer beginner in acrobat products.

I'm developing an application and I need to open one pdf file in one form with various controls, such as Text Boxes and so on, using visual basic 2005. I try to insert the Acrobat control in that form and it not works. What do I need to do to make this possible.

My configuration.

Windows XP Pro.
Visual Studio 2005 Pro.
Acrobat 7 Professional.

In the client computer I have to install Acrobat 7 Professional or I need only the Acrobat Reader?

Thanks.

Fernando Silva.

39 replies

Participating Frequently
July 30, 2008
I am not referencing a varible name.
As a test I hard coded a path in the 'Data' property of the reader.

In code I tried me. ...and there is no prompt. I even gave the reader an ID name, and still it can not be found.
Patrick_Leckey
Participating Frequently
July 30, 2008
You say you already have a PDF displaying in the form. What is the variable name you are using for that control? Reference the same control.
Participating Frequently
July 30, 2008
I dropped the Adobe Acrobat pdf reader browser control on my web form. I can assign a path in the data property and upon opening the form the pdf file displays in the window. However, I would like the ability to change the pdf document upon certain events in the form, (let's say a button event). The problem is I do not know how to assign a new path to the reader. If I use this:
AcroPDF1.Visible = True
fileNameX = "C:\subdir\Myfile-x.pdf"
AcroPDF1.LoadFile(fileNameX)

The program does not recognize AcroPDF1? I am asuming I need to import a library in the code? like Imports AcroPDFlib ???? But I do not know which one. Can you help? Thanks!
Participating Frequently
June 29, 2008
Using what programming language on what OS platform?

Leonard
Participant
June 28, 2008
Hi,
How to get pagecount of PDF?
Patrick_Leckey
Participating Frequently
June 10, 2008
What format will your data files be in, FDF or XDP?
Participant
June 10, 2008
Hi All,<br /><br />I'm using Acrobat 7.0 professional. I created a fillable form. I entered some data and exported the data into a test file. Now, given the text format this form is using, I would like to automate the same formatted text file with real user information.<br /><br />Right now, I can get the information from my database, create the text file needed. I double click on my PDF file that I would like to fill, click <File>,<Form_Data>,<Import Data to Form..>, then browse for my text data file select it and the form is filled...<br /><br />Is there a way I can automate this process???<br /><br />Thanks in advance and any help or difference approach would be highly appreciated...<br /><br />Tony
Participating Frequently
April 8, 2008
How are you working with ASP.NET and Acrobat?

ASP.NET is a server-based language while Acrobat is NOT licensed for use on a server.

Leonard
Participant
April 8, 2008
I have a tree view with checkbox's to select pdf files i have been trying to select a few pdfs and sent them to print. i am using asp.net and vb script help please
Patrick_Leckey
Participating Frequently
April 1, 2008
> Is their not a solution?

I don't understand your question. All the SDK samples are for VS2005.