Solved

classname for adobe acrobat reader

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

773 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