?
Solved

classname for adobe acrobat reader

Posted on 2001-07-24
5
Medium Priority
?
809 Views
Last Modified: 2008-01-09
Hi all i am using this code to find tha valid path of the docuemtn opened inside a word application...
the ccde is
***********
Set app = GetObject(, "Word.application")
If app Is Nothing Then
    MsgBox "There is no active WORD Session"
Else
appWord.activedocument.Name
MsgBox app.activedocument.FullName
End If
**********

How can i do this same thing for Adode Acrobat Reader...
please help...soon
Points will not be an issuse if my problem gets solved...
0
Comment
Question by:khacharn
[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
  • 2
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 400 total points
ID: 6312971
Acrobat Reader does not support OLE automation.  See http://support.adobe.com/devsup/devsup.nsf/docs/50709.htm for details.  You have to use the full Acrobat product for this level of access.
0
 

Author Comment

by:khacharn
ID: 6313151
there must be some way of accessing the file opened in the adobe acrobat...
someone please help me...
khacharn
0
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6313181
The only alternative approach that comes to mind is to test for the existence of a window having a title starting with the text "Acrobat Reader".  The name of the document opened, if any, will be in square brackets in the window title.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6802974
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Industry Leaders: 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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

764 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