"No document is currently open in acrobat viewer" in acrobat x

Dim app As New acroapp
Dim avdoc As New AcroAVDoc
app.Show
bok = avdoc.Open("U:\taxforms\test.pdf", "test")
If bok Then
  Dim acrofrm As New AFORMAUTLib.AFormApp
  For Each f In acrofrm.fields -GETTING ERROR HERE ' tried show ,maximise, hide everything before this ,still getting error
      If f.Type = "Text" Then fields.Item(f).Value = "something"
  Next f
End If

Some thoughts
1. At the conclusion of the (failed) code is the file test.pdf indeed open in Acrobat?
2. Is this an Acroform (not one made in Designer)?
3. Is Protected Mode on?
4. Is there any situation where this has worked (e.g. different document or release of Acrobat), or is this your first try?

Similar Messages

  • Automation error - No document is currently open in the Acrobat Viewer

    Hello
    We have a Visual Basic application that we use for automating tasks in Acrobat on a batch of files. This application calls a folder level javascript to perform most of the tasks and is invoked via an application menu item (to get around some of the security restrictions). This application runs fine in Acrobat 7. Recently we upgraded to Acrobat 9 and the application doesn’t work any more. The error that is being generated is
            No document is currently open in the Acrobat Viewer
    I have isolated the problem down to the piece of code that accesses the fields object of the AFormAut.App object. We use the fields object for executing the JavaScript methods. The FormsAutomation sample application that comes with version 9 of the SDK generates the same exception. I have seen references to this problem on various forums but there can’t find a definitive answer.
    avDoc = CreateObject("AcroExch.AVDoc")
    Dim file As String = System.Windows.Forms.Application.StartupPath & "\..\..\..\..\TestFiles\FormsAutomation.pdf"
    bOK = avDoc.Open(file, "Forms Automation Demo")
    'If everything was OK opening the PDF, we now instantiate the Forms
    'Automation object.
    If (bOK) Then
                formApp = CreateObject("AFormAut.App")
                acroForm = formApp.Fields
    Else
                System.Runtime.InteropServices.Marshal.ReleaseComObject(avDoc)
                avDoc = Nothing
                MsgBox("Failed to open PDF Document. Aborting...")
                End
    End If
    To get around the problem I have to display the document that is currently being processed. This doesn’t seem correct as we don’t an acrobat window open when our application is processing a batch of files. Has this method of automation been removed from Acrobat 9 deliberately or is it a bug?
    BTW I am not sure if this is the corrent forum to post this question. If there is a more appropriate forum for this query can someone point me in the right direction.
    Any help would be greatly appreciated.
    Thanks
    Paul

    Yes. I have applied all patches up to 9.3

  • How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.

    How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.  I see how to change the size after the document is open by going to File/properties/initial view and saving this setting.  I want all documents to open at 100% when they are first opened.  Can I set this as a default view?

    Hey Kris,
    You might go to Edit> Preferences> Zoom
    Do this without opening any particular PDF so that it applies to the program itself and not just one document.
    Try this and then let me know.
    Regards,
    Anubha

  • Adobe Acrobat documents continue to open in web browser...

    Hi,
    I have a situation with 
    Web application general setting "Browser File Handing" set to strict in the general settings. Also tried changing to permissive, does not help.
    Site collection "Open Documents in Client Applications by Default" feature Enabled
    Document library advanced setting "Default open behavior for browser-enabled documents" set to Open in the client application.
    The documents still open in the browser. Any suggestions? Can serverfiles.xml help?
    Regards,
    Arsalan.

    There is no server-side solution. This is a client-side application configuration. It is basically an ActiveX plugin that Adobe Acrobat installs to handle opening documents in the browser, SharePoint has no control over it.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    Hi Ron,
    Highlight one in the Finder & do as Get Info on it, what does open With say to use?
    What did you update 10.8.2 from exactly? 10.6.8 maybe?

  • How to get the PDF documents that are currently opened in Adobe Reader?

    When a PDf file is opened in adobe reader, how can we know the details of the file which is currently opened.
    If I want a copy the PDF document to get saved on desktop automatically without asking to user, How can I do this in c#?
    If there are many PDF files opened, then also, I have to get all the details of PDF documents  which are opened.
    Thank You...

    Reader Forum http://forums.adobe.com/community/adobe_reader_forums

  • I am using Adobe Acrobat Pro and want to put a watermark on a pdf document I have opened.  How do I do this? Thank you

    I am using Adobe Acrobat Pro and want to put a watermark on a pdf document I have opened.  How do I do this? Thank you

    I don’t have a tools menu?
    Crystal Scott
    Chartered Accountant
                   Associated Business Advisors Limited
                    Chartered Accountants
                    P O Box 46, Orewa 0946
                    Level 1, 178 Hibiscus Coast Highway, Red Beach 0932
                    Ph (09) 426 8488    Fax (09) 426 8486  www.aba.org.nz<http://www.aba.org.nz>   [email protected]<mailto:[email protected]>

  • Interacting with current/open Excel documents

    Is there any sort of magic that needs to be done to interact with currently open Excel documents in any meaningful state? If I try to open an already open Excel document with the standard method:
    $Excel = New-Object -Com Excel.Application
    $Workbook = $Excel.Workbooks.Open($ExcelFilePath)
    $Worksheet = $Workbook.Worksheets.Item(1)
    $Worksheet.name = 'testing'
    $Workbook.save()
    $Workbook.close()
    It either does nothing or gives an error message saying the file is already open for editing. Makes sense. I've also tried getting the active Excel object (as referenced somewhere else on TechNet forums that I can't bother tracking down atm), like this:
    $Excel = [Runtime.Interopservices.Marshal]::GetActiveObject('Excel.Application')
    $Workbook = $Excel.Workbooks.Open($FilePath)
    ... the rest is the same.
    No difference. If I close the document without saving and re-open it, the changes will manifest though, so that's something. Is there something I'm doing wrong? Is there another way to do this? Is this impossible? Thanks for any help you can provide.

    Hi Bmwinstead,
    I ran the script on win 8.1 with Office 2013 without issue, and renamed the worksheet:
    Would you please post your test enviroment?
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • My PDF Document can't open properly in Acrobat Reader XI, But properly open in Acrobat Reader X

    Hi ~~
    As the topic, My customers using Acrobat Reader XI Can't open My Pdf file,
    But, same file can be opened properly in Acrobat Reader X,
    Acrobat Reader XI shows Error Message: Can't Capture Embeded Font
    Is there any update of Acrobat Reader XI can fix this problem?  pdf file sample: https://www.dropbox.com/s/68t63gz85ux3v5z/AAAAA.pdf

    Hey jameswangtw,
    Please ask your customer try downloading Asian Language Pack for Adobe Reader from the link given below:
    Adobe - Adobe Reader : For Windows : Adobe Reader 11.0.09 Font Packs - Asian and Extended Language Pack
    Regards,
    Anubha

  • Looking for a function that returns the currently opened document type

    Dear SAP gurus
    I have a user exit for transaction VA02. In VA02, when I click on button (Item details-configuration),
    it launches a URL in a browser. I am asked to add to the URL, values like Document Type, Document Number
    and Line Item Number.
    I can get Document Number and Line Item Number from the presently opened Sales Document by using the standard Function 'CUCB_GET_OWNER_OF_CFG'.
    However, I am not able get the value of Document Type. Is there any function that will give me
    the value of the Document type of the present document that is open.
    Any feedback/Suggestion will be highly appreciated.
    Thanks
    Ram

    If you're in a VA02 user exit, the document type should be in VBAK-AUART, if I remember the field name correctly.  I would think that ANYWHERE in VA02, that field will be available to you.
    If you want the text of the document type, forward navigate from vbak-auart data element to the domain and look at the values...there'll be a config (T) table (and you may need to add T to the end to get the associated text table) that describes the document type in your system's language,  like:
    E OR   Order
    or something like that...  Sorry, in my installation, we don't use the logistics modules, so I'm writing from memory.

  • Having to Choose a Document TWICE to Open in Acrobat

    Lately every time I try to open a PDF in Acrobat I have had to go through the steps to open TWICE before it actually launches in the program. This happens whether I double click the PDF icon, drag the icon to Acrobat in my Dock or open from the File menu. I then have to doubleclick, drag, etc. one more time before the file will open.
    I'm using Acrobat 9 Pro 9.1.2 on OSX 10.5.7
    Any help would be appreciated. Thanks.

    How many copies of Acrobat and/or Reader do you have on your machine? Where is the Acrobat application located? Does this happen withn any other application? You can try to delete your caches with an application like Onyx or Applejack.

  • Cannot opening PDF created with Adobe Acrobat 5 on Samsung Android device

    Hi I have an number of links to PDFs on my WordPress.com blog home page (www.creationtonewcreation.com). These were created in Adobe Acrobat 5, with security applied that allows viewing and printing. They open fine on my laptop (e.g. with Google Chrome), but when trying to open on my Android mobile (Samsung Note 3 - a standard design) with Acrobat Reader installed, an error message appears 'The document cannot be opened because it is not a valid PDF document'. It is a valid PDF as it was created with Adobe 5 itself. Do you know what the problem might be?  I have uploaded another PDF (not sure what this was created with) on my other WordPress.com site, and it downloads fine, so WordPress.com is not the problem per se.  Many thanks for any advice anyone can give.  Rob

    Hi Robert,
    I am so sorry for the inconvenience caused & will try my best to get this issue resolved.
    I will recommend you to upgrade your Adobe reader to Adobe Acrobat Reader DC on your Samsung Note 3 mobile phone and then try to view the pdf files. You can download it for free from the Google app. store or you can refer to this link Acrobat Reader DC Learn & Support.
    Let me know if you still experience the same issue.
    Regards,
    Aadesh

  • Link creation in Acrobat - viewing on ipad

    Hi All
    As posted above im having problems with a pdf and links on an ipad.
    I have a 10 page pdf that I have created in indesign ( this doesnt have any interactivity set, just standard pdf output)
    I then set links using the link tool native in Acrobat pro. The links are simple links to open a page view ie, just linking to another page in the document.
    I have this set to 'Go to a page view'
    Once saved, it all works fine in acrobat.
    When viewed in Acrobat reader for iOS. one of the links works where all the others dont.
    I have checked and they all have the same settings.
    My client doesnt have the option of adding any other reader app, Acrobat reader is the only option as its for a large sales team.
    Surely Acrobat reader iOS should be able to read links natively created in Acrobat pro?
    Any help welcome
    Thanks
    Steve

    The only way to get the navigation buttons to work at this time on the iPad is to use the form tool. This article on Navigation Button Tricks for Interactive PDF on an iPad will explain how to do this.

  • Can't open, download or view PDFs - Tried all fixes recommended on this site!

    I updated Firefox yesterday and now I am suddenly unable to open, download or view PDF documents on my mac. I just get a blank page in Firefox when I click on a PDF link.<br />
    I tried every fix I could find on this forum and others:<br />
    Disabling both the Acrobat NPAPI Plugin and the Acrobat Reader Plugin<br />
    delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.<br />
    installing another PDF reader plug-in<br />
    Cleared download history<br />
    Reset Firefox<br />
    Checked status of Download Folder - no 'user set' values<br />
    Reinstalled Firefox<br />
    Fixed all Mac Permissions<br />
    Still same thing PDF tries to open in a new tab - I just get a blank window… even when my PDF Preferences are set for the pop-up dialogue to show so I can choose whether to save, open or view.<br />
    AND my Firefox preferences are set for viewing in Acrobat Pro X (this was how I had it set up before the update and had no problems - all PDFs opened in this application. (my preferred)
    I am stumped. Anyone have any fresh ideas? HELP!! :) Thank you

    The Adobe Reader plugin may not be working properly on Mac.
    * https://support.mozilla.org/kb/pdf-files-are-blank-and-cant-be-downloaded-mac
    * https://support.mozilla.org/kb/Opening+PDF+files+within+Firefox
    Disable the Adobe Reader plugin in Firefox (Tools > Add-ons > Plugins) and use the external Adobe Reader application or Preview application instead.
    PDF files may be found under entries like Portable document or Adobe PDF document.
    *Firefox > Preferences > Applications > Adobe PDF document : Use Adobe Reader

  • How do I make a linked PDF open in fullscreen view?

    I would like the recipient of my pdf link to immediately view the document fullscreen when the url is clicked on. Is there a modify of the url that will accomplish this, or an option I can set in my profile (better)? Thanks.

    Thanks for your kind response.
    Nowhere do I see a file/properties, whether I select the file while looking at the list, or open the file from the 'acrobat,com' list or the 'Recent files' list, or open the sent file from the 'Sent files' list, or 'open link' after the latter action. There is a 'settings' icon when the file is opened from the 'acrobat.com' list and 'Recent files' list, but the only options are 'rename' and 'delete'. I checked all the icons and dropdowns on all the pages, but no file/properties. I could have missed it.
    I have a basic subscription. Is there a subscription level where this fullscreen option becomes available?
    Thanks so much for your help.

Maybe you are looking for

  • Can not see the schema under the new connection -- Please help

    The database is Oracle.  Recently I requested our DBA to do a database refresh, and here was she did. 1. Drop the user (TDEV, schema owner) in Dev. 2. Recreate the user, TDEV, with the same password, roles and tablespaces. 3. Using Oracle export comm

  • Monster iTV Link for 13-inch MacBook and 12-inch PowerBook

    Does anyone knows or the Monster iTV Link for 13-inch MacBook and 12-inch PowerBook even work with the imac intel-based mini-dvi port? hp   Windows XP  

  • Indesign Image Quality Issues

    Hey Everyone, I am using a brochure template with indesign. The sample PDF's i got look great, but when i open the file in InDesign to start editing content, the background image is very pixelated, though text quality is just fine. Any idea how i can

  • Behaviour of Service Broker during clustered SQL Server failover

    Hi,  I have 3 instances of SQL Server 2005 hosted on a 3-node cluster, using Polyserve clustering.  Each instance is nominally hosted on its own node in the cluster. I have configured Service Broker to route messages from INST-A (on NODE-1) to INST-C

  • Iterate on list model

    How do you iterate over a defaultListModel? It does not have a Iterator() method. i tried the elements() method and i'm having trouble: for (Enumeration e = gui.listModel.elements(); e.hasMoreElements()) {                       ListElement le = e.nex