?
Solved

Opening an Adobe Document

Posted on 2000-03-13
5
Medium Priority
?
216 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 150 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month13 days, 1 hour left to enroll

777 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