Error when opening a pdf file

I have QTP 10.0 and Adobe reader 9.3 installed on my machine. The machine I am using is a VMware device.
I have downloaded and installed the PDF Test Toolkit and the Adobe SDK.
For QTP I have the ActiveX, Web and Adobe add ins loaded.
I do not have Acrobat loaded. 
For my first script all I wanted to do was open an existing PDF. I used the code displayed below.
Option Explicit
Dim gApp
Dim gPDDoc
'###  Create objects required for the test
Set gApp = CreateObject("AcroExch.App")
Set gPDDoc = CreateObject("AcroExch.PDDoc")
'###  Open a PDF Document
gPDDoc.Open ("C:\TestData\PerfOnVMware")
'###  Kill all created objects
Set gPDDoc = Nothing
Set gApp = Nothing
For both Set statements (in italics) I am getting the following message
"ActiveX Component Can't Create Object "AcroExch.App"
Also, as to the instructions. I read the instructions to mean that you need the Adobe Reader OR Adobe Acrobat. However in some of the research I have been doing on other boards many of the solutions indicate that Acrobat is required. Can some one take a moment and clarify what I will need installed on each machine in order to create and execute scripts.
Any thoughts would be helpful
Thanks
Mike

Please see the document 'Interapplication Communication API Reference' in the Acrobat SDK. Reader doesn't support the AcroExch methods. You can use the DDE methods. For more quesitions, please visit the SDK forum:
http://forums.adobe.com/community/acrobat/acrobat_sdk
You should still be able to record and playback UI events in Reader.
Thanks - John Briere
Engineering Manager, Acrobat Production Engineering

Similar Messages

  • Errors when opening any PDF file

    Can't find a bytecode file to load.
    InitializeFormsTrackerJS is not defined
    1:App:Init
    ReferenceError: InitializeFormsTrackerJS is not defined
    1:App:Init
    From the Javascript console I get the above whenever I open any PDF file from Acrobat XI Pro.
    I'm at version 11.0.7.
    Where is the source of this problem ?
    A search for InitializeFormsTrackerJS shows no hits in the Javascript folder.

    The folder is Acrobat\Javascripts
    Repair your Acrobat installation.

  • Error when opening a pdf file in chinese

    Hello,
    I have created a specific PO form by copying the standard one BBP_PO in SRM.
    After generating a pdf file with my specific form, I get the error "There was a problem reading this document (15)" when I try to open it.
    I can see some characters, and then everything disappears. I have both english and chinese characters.
    The chinese language is installed.
    If I use the standard form, I don't get the error !
    In the form, I use some standard text, which are created in english and chinese.
    Thanks for your help.
    Marc

    Just so you know, my default PDF can opener remains set to Preview, though I will use Acrobat Reader when and if it serves my need.
    The upside of the Show scroll bars set to always is intuitive with applications. The downside is that any web content that has the CSS overflow:scroll configured will permanently have scrollbars attached to that content. At least, that is the behavior with Safari on Mavericks. Since I do web work too, I have left my scrollbar setting to when scrolling.
    I believe the OP issues about resizing PDFs has to do with the default nature of Preview to open PDFs in continuous, rather than single page mode. In the former state, one must always fuss with resizing the Preview window, and in the latter, Preview does what it should do — a single, tightly cropped PDF page. Setting the Single Page preference setting in one document does not make this behavior permanent for subsequent documents.
    I made two changes to Preview that open any PDF in Single Page mode, and tightly cropped to that page:
    Preview PreferencesPDF: Define 100% scale as: Size on screen equals size on printout
    Defaults write
    Change to ~/Library/Containers/com.apple.Preview/Data/Library/Preferences
    defaults write com.apple.Preview kPVPDFDefaultPageViewModeOption 1
    Continuous view mode is (0) zero
    PDF documents will now default to Single Page mode

  • Accept the enduser license agreement when opening a pdf file in the internet

    I have launched adobe reader when opening a pdf file in the internet i get the following error message
    Bevor proceeding ou must first launch adobe Acrobat and accept the Enduser license agreement
    am user of a mac book pro

    Kaliber wrote:
    Before proceeding you must first launch Adobe Acrobat and accept the Enduser license agreement.
    And, did you do that?  The message will no longer occur once you opened Adobe Reader & accept the EULA.

  • [N95 8GB]Out of Memory error when opening 15MB pdf...

    What is the file size limit when opening a pdf file? I have a 15MB pdf file that cause 'Out of memory' error when I opened it with the PDF Reader that comes with the phone.
    Thanks.

    Hi,
    It seems that problem is file specific, so could you please share a file with me. I sending you a private message.
    Regards,
    Anoop

  • Error when opening table container file keydb read only

    Hi Guys,
    We are installing solution manager 4.0 on windows/sql but we are getting following error and couldnt continue the installation
    FKD-00070  Error when opening table container file C:\PROGRA1\SAPINS1\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml for writing. Possible reason: "read-only"
    ERROR 2008-06-04 20:10:56.843
    FKD-00049  XML - Parser error: error: no DTD specified, can't validate in line 1, 1
    in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml.
    Please help
    Regards,
    Santosh

    Further info
    keydb.xml is empty and the directory has got write access for everyone
    regards
    Edited by: Santosh Keerti on Jun 4, 2008 1:29 PM

  • Adobe reader XI crash and hangs when open the pdf file

    After update the adobe reader xi 11.0.10, the reader always crashes and hangs when open the pdf file. Please help me how to do.

    Ben Leung wrote:
    HThis situation is started after I clear the pop up advertisement.
    What kind of advertisement?  In Adobe Reader?  Can you post a screenshot of that: https://forums.adobe.com/thread/1070933
    Regarding the crash, can you try disabling Protected Mode through the registry: download, unzip, then run the registry script https://files.acrobat.com/a/preview/49eeb48b-07c5-4502-984c-8a25259914fa

  • Why does IE crash when opening a pdf file ?

    Why does IE crash when opening a pdf file ?

    I think this is done by the browser when it is saving a temporary file and there's already a file with that exact name in the temp folder.

  • FM GUI_UPLOAD gives PC036 "Error when opening the download file".

    Dear all
    I'm having a problem with a particular PC.
    A program which calls FM GUI_UPLOAD gives the error PC036 "Error when opening the download file".
    The file we are trying to upload is a text file, with tab delimiter.
    If the same user executes the same program from another PCs, it works fine.
    If another user executes the program in the "problematic" PC, it gives the error.
    So, the problem is PC-related.
    I checked SAP GUI Codepage, and was the same as other PCs.
    I cheched regional configuration, and was also the same as other PCs.
    The operating  system is Windows XP, and the SAP GUI version is 7.10,  File version 7100.2.7.3077, Build 967944 , Patch level 7.
    SAP version is ECC6.
    I searched across forums, SAP note, and the web, but I couldn't find anything.
    I would be grateful if someone could give me ideas.
    Thanks in advance
    Jordi

    Hello. The user accounts are have same privilegies (like both are "Power users")? Also the file system are the same in both PC NTFS or FAT32 (today i'm find FAT32 in enterprise ) If NTFS may be some Domain politics are not allow to save file correctly, or space are not enough....Try check this first...Regards.

  • FireFox 5 crashes everytime when open a PDF file

    FireFox 5 crashes everytime when open a PDF file in the browser.
    Adobe Acrobat plug-in installed.

    Please post this in the correct forum, such as here (Mac OS X 10.4 Tiger):
    http://discussions.apple.com/category.jspa?categoryID=160

  • Error message opening secure PDF file

    I bought a secure water marked PDF file and am unable to open it on my computer.  I get an error message saying, " There was an error processing a page.  Wrong operand type."  I'm able to download the file and open it on my Android cell phone, but if I copy the same file to my computer or download it directly from the website I get this error message when I try to open it.  I tried uninstalling and reinstalling Acrobat reader, but I still get this same problem.  Does anyone have any idea of how to fix this?  I can open other PDF files, just not that one.  I even tried using the repair Adobe reader menu option and still get the same problem.

    Sounds like pdf file is corrupt. Reader on your computer may be less tolerant of corrupt pdf files, since a corrupt pdf file can be used as a vector for a virus or malware attack.

  • Acrobat Reader remains freezen a few seconds when open a pdf-file

    Hello everybody,
    I have Windows7 Prof 64 bit with the Adobe Reader X (v.10.4.1) installed.
    When I will open a pdf file, the opened pdf-file remains freezen (in the same time the mouse remains freezen to) for about 10 or 20 seconds. In this time I can do nothing. After this time the Adobe Reader works again normal without problems and I could read me pdf-file.
    Do you know if this problem is normal or how to fix it?
    Thanks for your discussion and answers.

    It is very curious, I has this problem more than one year. And now I have tested my pdf documents which a already freezen and there don't freezen. I have tested my small and big and your pdf file and I no longer have this problem.  The problem is resolved.
    Yesterday I have only tried to creat with word an blanc file by save as *.pdf and I have open this file with the reader and since this I no longer have this problem.
    I have do nothing (except of post my error on the forum) for resolve this problem and the problem is resolved.
    If the problem will return in the next months I will post more details how written from "Pat Willener".
    Thanks for your help.

  • Is there a way to have the thumbnail pane automatically open when opening a pdf file?

    I'm using Adobe Reader X and I would like to have the thumbnail preview automatically open when opning a pdf file. I know there is a setting to remember view layouts but this is set for the currently open document and not in general. Thanks in advance,
    Regards
    Robert

    A particular file can have this setting, so each time you open it you see the thumbnails. The bad news is:
    - this would have to be changed per file
    - this requires the Acrobat product, not just the free Reader.

  • Blackened page and dialog error after opening a PDF file

    Hello,
    I have an Acrobat Pro. 8.1 that I had installed in to Win. Vista. After reformatting my system and installing Win. 7 ultimate, I installed it again.  I also have Adobe Reader 9.0 on this system.
    Problem is when I click and open a PDF file, it opens it in completely Black page and after a few second Black page goes away and following dialog is display and when I click on Close program on this dialog page the application does not give solution and goes completely away.
    Adobe Acrobat 8.1 has stopped working
    A problem caused that program to stop working correctly.
    Windows will close the program and notify you if a solution is available.
    With a Close program below it.
    I can not scan with it either where as I could all the above in Win Vista. What could be wrong?
    When I generate System Report if generates the following:
    Regards
    Jeff P.
    Available Physical Memory: 4194303 KB
    Available Virtual Memory: 1818664 KB
    BIOS Version: DELL   - 20090605
    Default Browser: C:\Program Files (x86)\Internet Explorer\iexplore.exe
        Version: 8.00.7600.16385 (win7_rtm.090713-1255)
        Creation Date: 2009/07/13
        Creation Time: 4:43:32 PM
    Default Mail: Microsoft Office Outlook
        mapi32.dll
        Version: 1.0.2536.0 (win7_rtm.090713-1255)
        Creation Date: 2009/07/13
        Creation Time: 5:12:29 PM
    Graphics Card: ATI Radeon HD 4670
        Version: 8.14.10.678
        Check: Not Supported
    Installed Acrobat: C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\Acrobat.exe
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:16 PM
    Installed Acrobat: C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe
        Version: 9.3.2.163
        Creation Date: 2010/04/03
        Creation Time: 10:57:52 PM
    Locale: English (United States)
    Monitor:
        Name: ATI Radeon HD 4670
        Resolution: 1920 x 1080 x 60
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows Vista
    OS Version: 6.1.7600 
    Page File Space: 4194303 KB
    Processor: Intel64 Family 6 Model 26 Stepping 5  GenuineIntel  ~2660 Mhz
    System Name: BAHRAMROOM-PC
    Temporary Directory: C:\Users\Bahram\AppData\Local\Temp\
    Time Zone: Pacific Standard Time
    Total Physical Memory: 4194303 KB
    Total Virtual Memory: 2097024 KB
    User Name: Bahram
    Windows Directory: C:\Windows
    Installed plug-ins:
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ADBC.api
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:09:30 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Accessibility.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:28 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\AcroForm.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:27 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Annots.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:31 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Catalog.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:33 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Checkers.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:31 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\DVA.api
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:10:52 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\DigSig.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:27 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\DistillerPI.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:27 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\EWH32.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:31 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Editor.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:32 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Escript.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:42 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\HLS.api
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:10:22 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\HTML2PDF.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:31 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\IA32.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:30 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ImageConversion.api
        Version: 8.1.2.2008011100
        Creation Date: 2010/06/22
        Creation Time: 1:48:27 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ImageViewer.API
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:10:36 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\InDesignPI.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:33 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\JDFProdDef.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:33 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\MakeAccessible.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:30 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Multimedia.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:26 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\PDDom.api
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:19:38 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\PPKLite.api
        Version: 8.1.3.0
        Creation Date: 2010/06/22
        Creation Time: 1:48:30 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\PaperCapture.api
        Version: 8.1.2.2008011100
        Creation Date: 2010/06/22
        Creation Time: 1:48:20 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Preflight.api
        Version: 8.1.0 (241)
        Creation Date: 2010/06/22
        Creation Time: 1:48:26 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\ReadOutLoud.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:32 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\SaveAsRTF.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:29 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\SaveAsXML.api
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:20:30 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Scan.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:32 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Search.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:33 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Search5.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:33 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\SendMail.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:29 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Spelling.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:26 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\TablePicker.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:26 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\TouchUp.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:29 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\Updater.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:29 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\WebPDF.api
        Version: 8.0.0.2006102300
        Creation Date: 2006/10/23
        Creation Time: 1:12:00 AM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\XPS2PDF.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:19 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\eBook.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:32 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\reflow.api
        Version: 8.1.0.2007051100
        Creation Date: 2010/06/22
        Creation Time: 1:48:29 PM
    C:\Program Files (x86)\Adobe\Acrobat 8.0\Acrobat\plug_ins\weblink.api
        Version: 8.1.3.2008101500
        Creation Date: 2010/06/22
        Creation Time: 1:48:28 PM

    There were documents available in the knowledgeable that I no longer have the urls for. I have had communication with Adobe Acrobat support personnel that have made the same statements. I do not have the habit  of asking official Adobe tech support people to prove their statements by providing documentation. I have also seen Adobe employees give presentations on computers that have had both installed. When they were asked about the incompatibility, they did say the equivalent of phooey. However, enough people on this forum have had their problems disappear when they have removed one of the two programs that I feel comfortable giving that advice. Yes some people have no problems running both until one of the programs or a system component gets updated and then things stop working. My advice is not to have both on the same computer. When two programs share system calls and can fight over who gets to handle the call it makes sense that it can cause a problem. It doesn't make a difference if it is Reader and Acrobat or any two other programs you run. If you are not having a problem with running both GREAT. However, if you are running both and have a problem, it is a simple step to eliminate one and see if the problem disappears.

  • Why does the scroll mouse freez when opening a pdf file in the browser?

    My scroll mouse is freezing each time I opened a pdf file in different tab in the browser. When I close the tab (that open a pdf file), the scroll mouse back to normal.
    I use foxit to read a pdf file. I dont know if the problem occur when you use adobe product.

    Kaliber wrote:
    Before proceeding you must first launch Adobe Acrobat and accept the Enduser license agreement.
    And, did you do that?  The message will no longer occur once you opened Adobe Reader & accept the EULA.

Maybe you are looking for

  • PP - No data in Field J_3ARESM (reserved qty) of 2lis_02_pabdsi(AFS based)

    Hi, I have loaded data for the AFS based datasource 2LIS_AF_PABDSI of PP. But there is no data in the field - J_3ARESM(reserved quantity) - only showing 0,000. Used RSA3 transaction to extract data. I checked it after filling up the setup tables. Dat

  • How can I dial a Unity subscriber extension when they don't have an assigned IP phone?

    I have set up our warehouse staff to share centrally placed IP phones by setting them up in Exchange and as a Unity subscriber and then configured the Call Transfer page to ring the extension of the phone closest to where they work in the warehouse. 

  • Region does not pass the value

    Hi, I have a region which includes a task flow with a selectonechoice component. This component displays the values true/false and save the value in a managed bean. Also it has the auto submit = true. In my jspx page which has the region inside I hav

  • ThinkVantage and Win7

    I've installed Win7 32bit on my lenovo r60E, after have recovered it to preinstalled situation. so i think thinkvantage sw is on pc. How can i use it? Thinkvantage button and sound buttons don't work. Can you help me? have I to download anything? Tha

  • Loupe Offline for Referenced Images?

    In the Aperture 3 documentation, we get this... Even though the masters are offline, you can browse, search, and assign metadata to preview images. You can even use the Loupe to zoom in on preview images, because they are high-quality JPEG files. And