Opening an Adobe Document

What is the best way of opeining an Adobe .pdf file in my Visual Basic program?
katehvafAsked:
Who is Participating?
 
mcriderConnect With a Mentor Commented:
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
 
mcriderCommented:
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
 
mcriderCommented:
by the way, you can get the reader here: http://www.adobe.com/products/acrobat/readstep.html 


Cheers!®©
0
 
katehvafAuthor Commented:
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
 
mcriderCommented:
;-)
0
All Courses

From novice to tech pro — start learning today.