Open a pdf via vba in existing acrobat window

Hi,
Part of my MSAccess 2007 management application manages document.
By clicking on a document record it would open it using either OLE or DDE depending on the adobe version installed (full or only reader).
I have an unsolved problem with the OLE code.
Opening documents with AVDOC.Open works fine but will always open a new instance (new window) of adobe acrobat even if adobe acrobat is already active and open without document.
Weird as if you click on a pdf in explorer for instance it would open it it the existing window.
If I try to open it using creating a new instance of AcroExch.AVDOC and AVDOC.OpenInWindowEx the avdoc is populated with the file as AVDOC.Gettitle returns the title and AVDOC.IsValid returns true but the document does not show up in the existing adobe acrobat window.
What am I missing ?
Reason why I want to implement it is as working with two screens I want to have the adobe document on the second screen while working with the application on one screen. By using AVDOC.Open I always need to drag the new opened window to the other screen although there is an instance (window) of adobe acrobat open on the desktop without documents in it (I test it as it is obviously a correct behavior if there would be an open document in it).
thks in advance for advise.
Andre

Hi,
You know I have to thank you for the solution as by asking your question you provided me with a way to solve my problem .....
As double clicking a pdf file when the application is open with no open document works as I want it to (i.e. showing the new document in the existing acrobat window), so I decided to try out a plain vanilla shell instruction in vba instead of the AVDOC.Open statement ... and ....although not very programmatically aesthetic ....  it works.
rgds

Similar Messages

  • I can no longer open any PDF after my trial of Acrobat XI Pro finished...Help

    I can no longer open any PDF after my trial of Acrobat XI Pro finished...Help

    I would try using this tool to first remove all traces of Acrobat from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    PDF files cannot be natively opened in InDesign. They can only be placed as graphics.

  • How to hide prompts panel for WebI documents opened in PDF via openDocument

    I am linking to a WebI document via openDocument call with sOutputFormat=P. The report opens in PDF format but within another browser window with top panel and left prompts panel.  I tried to set different Web Intelligence Interactive settings in CMC to hide the left prompts panel but to no avail.  We are linking to this WebI report from an Xcelsius dashboard via openDocument and are passing parameters so that the user doesn't have to interact with the report.  Once the results are displayed, user should not be allowed to either Refresh the report or see the parameter panel in the left pane.  Is this possible either via CMC security settings or viewer customization?

    Thanks, posted. The forum was a bit hard to find

  • Show BLOB (open a pdf) from Report in a new window

    I use BLOB Support in Apex 3.2/4.0 (MIMETYPE..) at an IR:
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#sthref2199
    Because my BLOB (pdf,...) should be opened without asking for download or open I use content_position INLINE.
    That works fine, but I would like to get the opened document in a NEW window , not the same window ??
    ( If I klick the download with "open in a new window" it works fine)
    Any idea?
    I remembered Link-Attribute target="_blank" (that works fine)
    So my first idea was
    (1) defining the BLOB column as a Link (type=URL) call APEX_UTIL.GET_BLOB_FILE_SRC and use Link-Attribute target="_blank".
    But APEX_UTIL.GET_BLOB_FILE_SRC needs an ITEM ... and what about MIMETYPE...
    =>It will not work.
    My second idea is
    (2) Link from the report to another page having a hidden Item for the linked ID and
    create an hidden ITEM (having the BLOB attributes) like described at Dimitrie's BLOG
    http://dgielis.blogspot.com/2009/05/using-apexutilgetblobfilesrc-on-public.html
    At this page a process on load before header call APEX_UTIL.GET_BLOB_FILE_SRC with these items as parameters
    => Seems to complicated
    Any better idea?

    Hi,
    You know I have to thank you for the solution as by asking your question you provided me with a way to solve my problem .....
    As double clicking a pdf file when the application is open with no open document works as I want it to (i.e. showing the new document in the existing acrobat window), so I decided to try out a plain vanilla shell instruction in vba instead of the AVDOC.Open statement ... and ....although not very programmatically aesthetic ....  it works.
    rgds

  • Opening multiple PDFs outside of browser in Acrobat 9 Std/Pro

    Just got off the phone with Adobe's TS and was unhappy that they took the functionality of opening multiple PDFs outside of the browser and have it be contained in ONE window from Adobe 9. Unless someone else can tell me how to set this option up again, I'm sticking with 8 until there's an update to this.

    I believe this was a permanent change. See the following link and conversation thread:
    http://www.adobeforums.com/webx/.59b5f77b/7
    "Atin Wadehra - 2:39am Jul 30, 08 PST (#9 of 16)
    Aandi,
    The failure reason suggested by you provided me the solution for getting my my code to work. There is a setting in Acrobat to either open the each document in separate window or to share Acrobat's window.
    The setting is Edit->Preferences->Documents->Open Settings section "Show each document in its own window (requies restart)"
    Thanks for the help again
    Post Reply
    Leonard Rosenthol - 6:16pm Jul 30, 08 PST (#10 of 16)
    However, that preference is NO LONGER present in Acrobat/Reader 9. In version 9, we ONLY operate in SDI mode. So even with that fix for Acrobat/Reader 8 - you will STILL break in version 9.
    You MUST rethink your code...
    Leonard"
    Sabian

  • Open a PDF via a button/script in a projector

    I am going to burn a projector to a CD with a folder
    containing some pdf files. I would like to ask how to open a pdf
    file(if it's even possible) from a button in director. I don't need
    it to open inside the projector, just click on the button then it
    will open an Acrobat Reader.
    I hope you get the idea of what I'm trying to do.
    Thanks

    "rafa@mediatech" wrote:
    > Also, if your files are inside a folder, remember to put
    the path of the folder before the name of the PDF.
    > example:
    > baOpenFile( the moviepath&"FOLDER/NAME.pdf",
    "normal" )
    The above posts have given the best way to open a PDF. It
    uses the Buddy API Xtra to open a file with the
    program to which its associated. Buddy API Xtra can be used
    free if you use limited functions. So, you can use
    the baOpenFile without needing to buy the full version of the
    Xtra. The Xtra is available from:
    http://www.mods.com.au/budapi/
    Other ways to use PDFs with Director are described here:
    http://www.deansdirectortutorials.com/FAQ/pdf.htm
    regards
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au
    email: [email protected]

  • XI Pro, Excel 2013, Win 8.1: Opening a pdf embedeed in Excel starts Acrobat in Maximized Window

    I am embedding (Insert/Object/Adobe Acrobat Document) pdf's in an Excel spreadsheet.
    I'm using the option to show the pdf as an icon.
    That all works fine.
    When I double click the icon Acrobat is starting in a maximized Windows window.
    It is filling up my entire monitor with Acrobat.
    Normally when I start Acrobat it takes the window shape from the last time I closed it.
    Is there any way to control the Window size when opening a pdf from inside Excel?
    Thanks.

    Click to Run according to Microsoft: 
    https://technet.microsoft.com/en-us/library/jj219427.aspx
    "Click-to-Run is a Microsoft streaming and virtualization technology that reduces the time that is required to install Office and helps you run multiple versions of Office on the same computer. The streaming technology enables you to download and begin to use an Office product before the whole product is installed on your computer. The virtualization technology provides an isolated environment for Office to run on your computer. This isolated environment allows you to run the latest version of Office side-by-side with an earlier version of Office that is already installed on your computer."

  • LINK : open a PDF at a specific size (acrobat X)

    Hi all,
    I'm creating links between several PDF files.
    For some links, I open the PDF a new window (with regular link options).
    But, I need to open the pdf at a specific size, as a HTML/ javascript popup.
    Is ther a way to achieve this? 
    Many thanks in advance .

    Yes , the feature is available in Acrobat.Any section on a page can be defined as a named destination. The panel to do so is available through View->Navigation Panel->Destinations. Also there is a list of PDF open parameters which can be given in command line , one of them is nameddest. So if you select a section on the page and name it X, and give acrord32.exe /a nameddest=X filename.pdf, the focus would be on section X. These command line parameters are honored by both Acrobat and Reader but destinations can be viewed and added through Acrobat only. Needless to say, this would work even if the page number changes.
    Regards
    Sanika

  • Adobe Reader XI is not working. I have used the cleanup tool and reinstalled it. I try to open a .pdf file in the program the window will open and load all the tabs but I am never able to actually interact with them.

    I am unable to use adobe reader xi. I have tried to use the clean up tool and re install the reader. That doesn't seem to help. I go to open the pdf file in the reader and the window will load but I am not able to do anything past that point. Almost as if the program freezes once loaded I never get a not responding error until I open the task manager on the computer.

    Can you open Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • I'm having problems opening my pdf files. I'm running windows XP and have adobe reader XI (11.0.06)

    I'm having problems opening my pdf files. I'm running wiondows Xp and have adobe reader XI(11.0.06) installed.

    What kind of problems? What happens when you try? Any error messages?

  • Changing a text field name in an existing PDF via VBA

    Using OLE, I am accessing a given form with the following code:
    Function GetTextFieldNames(strFormName As String, strFieldName)
    Dim myApp As AcroApp
    Dim acForm As Acrobat.AcroPDDoc
    Dim jso As Object
    Dim strTest As String
    Dim Field As Object
    'Set the object references
    Set myApp = CreateObject("AcroExch.App")
    Set acForm = CreateObject("AcroExch.PDDoc")
    acForm.Open (strFormName)
    Set jso = acForm.GetJSObject
    Set Field = jso.getField(strFieldName)
    'Clean up
    acForm.Close
    myApp.Exit
    Set myApp = Nothing
    Set acForm = Nothing
    End Function
    The two items that I would like to achieve are:
    1. Getting a list of fieldnames on the form referenced
    2. Changing the field name (in this case, a textbox or checkbox) programmatically.
    However, I have not had any success in retrieving a list of available field names, nor have I been able to modify the name of the field. Any ideas?
    i.e. It would be nice one could say
    For i = 0 to acForm.[FieldCount]
         Set Field = jso.GetField(i)
         Print Field.Name
    Next i
    ...and
    Field.Name = "NewFieldName"
    I hope that helps to explain what I am trying to accomplish. Any ideas are appreciated. Thank you!

    Have you consulted the documentation in the SDK about what methods are available? It will show you how to get the list of fields and/or the proper count for iteration.
    IIRC you can't change the name via VBA

  • Is there a way to open another pdf via a button in my (pdf embedded) flash movie?

    My Acrobat 9 pro pdf, contains an ActionScript 2.0 swf, added via the Flash tool, on the multimedia toolbar.
    The Flash file contains an animation introducing a collection of linked pdf files.
    At the end of the intro a button appears, which when clicked, should replace the current pdf with one of the linked ones.
    Is it possible to do this inside actobat?
    Regards Maxwell

    Thank you.  That’s all I need to know.

  • Only able to open one .pdf without having to restart Acrobat

    I am running Acrobat X Standard on Windows XP.  Suddenly earlier this week, I have begun having a problem in which I can only one .pdf document without having to exit and reopen the program entirely. If you try to open a second, the sidebar with bookmarks is visible, but you can't view the document itself.  The screen where .pdf is normally displayed is transparent (showing the gray Acrobat background).
    Any suggestions?
    Don C.

    Hi RahulTyagi4you
    Thanks for your reply; however, I've messed something up on my computer.  I've been cleaning up my Dell Latitude laptop by disabling programs that aren't necessary in my start-up and deleting old apps that are no longer needed to not only clean up but speed up my laptop and everything is working great now except whatever I did, my computer no longer recognizes that I subscribe the the monthly Acrobat Pro XI online subscription (I pay $21.19 with tax per month).  Now, I can't password protect a PDF document so I'm not sure what I need to do to correct my problem.  I'm sure it's something simple.  Well, at least the computer is running faster and better minus my subscription to Acrobat Pro    Thanks for letting me know that it wasn't a Norton 360 or Chrome issue.  That helped.  tstepup22

  • Unable to open two PDF's at once in Acrobat Reader 9.1.1

    Hello:
    We are having problems at the company I work at when trying to two PDF's at once.   When the second one is opened, it reboots the computer.  There are no errors showing in Event Viewer.  There are no firewalls that would be causing this issue.

    Try disabling Protected Mode (see Pat's response here: Anyone having problems with the Acrobat Reader 11.0.9 update on Win7 X64?) and see if that helps...
    -Mike

Maybe you are looking for