Solved

classname for adobe acrobat reader

Posted on 2001-07-24
5
793 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

685 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