Solved

Opening an Adobe Document

Posted on 2000-03-13
5
201 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now