Solved

classname for adobe acrobat reader

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

734 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