Solved

Opening an Adobe Document

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JSON Response and request in VB6 application 11 588
Updates not working for MS Windows 7 12 181
Spell Check in VB6 13 127
MS SQL Update query with connected table data 3 38
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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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 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…

829 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