Solved

Opening an Adobe Document

Posted on 2000-03-13
5
211 Views
Last Modified: 2010-05-02
What is the best way of opeining an Adobe .pdf file in my Visual Basic program?
0
Comment
Question by:katehvaf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 14

Expert Comment

by:mcrider
ID: 2613156
You can install the adobe acrobat reader. It comes with "Acrobat Control for ActiveX" (PDF.OCX) You can include this in your program and view PDF files.



Cheers!®©
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2613165
by the way, you can get the reader here: http://www.adobe.com/products/acrobat/readstep.html 


Cheers!®©
0
 

Author Comment

by:katehvaf
ID: 2613239
I have used the Adobe Acrobat control ActiveX to open my .pdf file. 1)Every time I load the form Actobat opens before I actually click on the control and it does not close until I get out of my program how do I deal with the opening and closing of Acrobat? 2)Will it make a difference if I place the Actobat on a Frame or a Panel?
0
 
LVL 14

Accepted Solution

by:
mcrider earned 50 total points
ID: 2613280
Why did you reject this??  Just to request more information??  If so, you don't have to do that... Just ask your question...

Acrobat is opening as an ActiveX EXE to service your control. To close Acrobat, check out the following microsoft KB article:

HOWTO: Programmatically Close a Separate Application
http://support.microsoft.com/support/kb/articles/Q176/3/91.ASP?LNG=ENG&SA=MSDN&FR=0 


No, It doesn't matter if the control is on a frame or panel.



Cheers!®©
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2613575
;-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question