Solved

classname for adobe acrobat reader

Posted on 2001-07-24
5
779 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
  • 2
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 100 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: 6751989
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6802974
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now