Using Adobe Reader ActiveX control in Access 2010

I have an access 2010 database containing records that have individual associated pdfs.  I have embedded a Adobe Acrobat PDF reader control in a form and created a function to load the appropriate pdf using the .LoadFile method so that it is visible on the same form as the database record.  When I move to a new record I want to close the file and clear the control (as though I had just opened the form) but I can't find the method to close/unload the file.  How can I do this please?
Addition - I  have included some additional references to the Access DB so intellisense identified the methods for the Active X control (acroPDF).  There is no 'unload' or 'close' method though that I can see, unless there are options to the ExecCommand method that I can use??
All help gratefully received.  Thanks.  Dave

I don't know if this is the best way or if it works in Access 2010, but it worked for me in the 2003 version. I set the enabled property to false and back to true. Here's the code that also checks for a null in the JobOrderNumber field:
On Error GoTo ErrorHandler
JOstr = Me.JobOrderNumber
On Error GoTo 0
On Error Resume Next
ErrorHandler:
Me.AcroPDF0test.Enabled = False
Me.AcroPDF0test.Enabled = True
End Sub

Similar Messages

  • Adobe Reader ActiveX Control

    Hi I want to create windows user control using adobe reader activex control, which will eventually be hosted on WPF application. But I want to customize the control so that a user is unable to print or save the PDF document using the activex user control's user interface.
    Is this possible ...if not is there an alternative solution to my problem.

    > Does anyone know how I may obtain developer assistance with this issue?
    Log a case with Adobe Acrobat Developer Support.

  • Disable Right Click Pop-Up Menu on adobe reader activex control

    Hi,
    I am using adobe reader activex control on my vb.net window based application.May i know how can i disable right click pop-up menu on adobe reader activex control?I don't want search function from right click pop up menu.
    Please help me.
    Thanks and best regards,
    Ko Ko

    Hi,
    I would disable the right click.....
    perhaps you can call a javascript function to display a table of options on your jsp with a layer:
    function myOptions( )
    var fullText =      "<table width='278'>" +
         "<tr bgcolor='#FF9900'>" +
         "<td colspan='3'> <b><font color='#000000' face='MS Sans Serif' size='3'>Option1</font></b></td>" +
         "</tr>" +
    "<tr>" +
    "<tr bgcolor='#FF9900'>" +
         "<td colspan='3'> <b><font color='#000000' face='MS Sans Serif' size='3'>Option2</font></b></td>" +
         "</tr>" +
    "<tr>" +
         " <td height='35'></td>" +
         " <td colspan='2' height='35'>" +
         "     <div align='left'>" +
    " <br>" +
    "     <p><font color='#FF0000'>Select option's from above.</font></p>" +
    "</div>" +
         "</td>" +
              "</tr>" +
    "</table>";
    editLayer( fullText, lyr );
    showLayer( lyr );
    editLayer and showLayer will display table on JSP....remeber to call the layer "1yr"
    // Show the visible layer that is passed into the function
    function showLayer( _obj ){
    if ( ns() ){
         _obj.visibility = "show";
    } else {
         _obj.style.visibility = "visible";
    // Write the layer with the text in the parameters
    function editLayer( txt, obj ){
    var doc;
    if ( ns() ) {
         doc = self.document._obj.document;
         doc.write( _txt );
         doc.close();
    } else {
         doc = _obj;     
         doc.innerHTML = _txt;     
         doc.document.close();     

  • Get page number from adobe reader activex control

    I used adobe reader activex contol in my application, I wanna access currect page number of open pdf, for that I require AcroExch.App.Avpageview. where we can get it and what would be the cost of it.Or any othe solution for access the page number of pdf.

    This is an interface supplied by Adobe Acrobat, Standard or Professional. (Note that EACH user will need to buy a copy). (And note that you cannot mix interfaces, so you won't be able to use this while displaying in the control).

  • I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file from PDF or to PDF, I get the message "An error occured while trying to access the service.  What do I need to do to access the service paid for?

    I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service".  What do I need to do to get access to the service I have paid for?

    Hi DeaconTomColorado,
    Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
    Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
    Best,
    Sara

  • I am having issues with printing using Adobe Reader

    I am currently using adobe reader and have not been able to print with my HP DeskJet 3050, I have both reinstalled my drivers and Reader, yet they both will not work.  Every time I click print it brings up the printing options screen, from there I have tried the following:  I have tried printing the document as an image, changing the language to see if the printer itself could not handle the printing language and I have also tried to save the document as a preprint and printing it from there yet it is still not working.  Here are all of the notes from Reader showing the build and features:
    System Parameters:
    Account Detail:
       User Rights: Admin
       User Account Control: Default
       Process Integrity: Undefined
       Profile Type: None
    Acrobat Detail:
       Sandboxing: On
       Captive Reader: No
       Multi-Reader on Desktop Support: Off
    Available Physical Memory: 1808376 KB
    Available Virtual Memory: 3937960 KB
    BIOS Version: ACRSYS - 6040000
    Default Browser: C:\Program Files (x86)\Internet Explorer\iexplore.exe
        Version: 9.00.8112.16421 (WIN7_IE9_RTM.110308-0330)
        Creation Date: 2013/02/13
        Creation Time: 10:31:26 PM
    Default Mail:
    Display Detail:
       Screen Width: 1366
       Screen Height: 768
       Number of Monitors: 1
       Number of Mouse Buttons: 5
       Has Mouse Wheel: Yes
       Has Pen Windows: No
       Double Byte Character Set: No
       Has Input Method Editor: Yes
       Inside Screen Reader: No
    Graphics Card:
        Version: 0.0.0.0
        Check: Not Supported
    Installed Acrobat:
    Installed Acrobat: C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe
        Version: 11.0.02.0
        Creation Date: 2013/02/15
        Creation Time: 5:04:53 PM
    Locale: English (United States)
    Monitor:
        Name: ATI Mobility Radeon HD 4200 Series
        Resolution: 1366 x 768 x 60
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows Vista
    OS Version: 6.1.7601  Service Pack 1
    Page File Space: 4194303 KB
    Processor: AMD64 Family 16 Model 6 Stepping 2  AuthenticAMD  ~1995  Mhz
    Session Detail:
       Boot Type: Normal
       Is Shutting Down: No
       Network: Available
       Inside Citrix: No
       Inside VMWare: No
       Remote Session: No
       Remote Control: No
    System Name: USER-PC
    Temporary Directory: C:\Users\User\AppData\Local\Temp\acrord32_sbx\
    Time Zone: Eastern Standard Time
    Total Physical Memory: 2881904 KB
    Total Virtual Memory: 4194176 KB
    User Name: User
    Windows Detail:
       Tablet PC: No
       Starter Edition: No
       Media Center Edition: Yes
       Slow Machine: No
    Windows Directory: C:\Windows
    Installed plug-ins:
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\Accessibility.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:34 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\AcroForm.api
        Version: 11.0.02.0
        Creation Date: 2013/02/15
        Creation Time: 5:04:56 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\Annots.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:30 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\DigSig.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:32 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\EScript.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:30 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\IA32.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:32 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\PPKLite.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:34 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\Updater.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:34 PM
    C:\Program Files (x86)\Adobe\Reader 11.0\Reader\plug_ins\weblink.api
        Version: 11.0.01.36
        Creation Date: 2012/12/18
        Creation Time: 2:08:30 PM

    Adobe will not send data to que up with the printer, when checking the print que, even if I set the printer to offline it will not que up.

  • Using Acrobat Reader activeX to get the current page views in a document

    Hello,
    I'm using the Acrobat Reader ActiveX control.
    How can I use this API (or any other way) to get the current page of the PDF document inside the Acrobat reader ActiveX control ?
    Thanks
    Ariel

    Aandi,
    I reckon that you might be right.
    But as side note, maybe Adobe will lose me and others as contributers for her PDF oriented solutions for other formats.
    In the long run experts can tell which approach is better: a .Net like approach (no limitations upon development issues for ) or this kind of an approach.
    Thank you very very much for you help!
    Ariel

  • I am filling out a form that requires me to put a passport photo using Adobe Reader.

    I am filling out a form that requires me to put a passport photo using Adobe Reader.
    However, when I click on the square to insert the photo, a screen pops up telling me to "select a PDF file and import it as an image" and just an "OK" button to press.
    When running the debugger, I get NotAllowedError: Security settings prevent access to this property or method. Field.buttonImportIcon:6:Field Click here to add a photo:Mouse Up. Any way around it? Below is the problem I'm talking about.

    Thanks for your reply.
    I've converted  photos into pdf format and it still won't allow me to insert the photo. I wouldn't know whether it'd be too large or small since I cannot insert it in the first place.
    "Warning: Javascript Windows: Select the PDF file to import this button as an image" is the message that keeps appearing. I can't seem to find anything related to this.

  • Acrobat Reader ActiveX Control printer selection

    Hello,
    I'm using the Acrobat Reader ActiveX control  in a web page (IE8) to automatically print a PDF document. I don't want to show the preferences dialog box, so I use the "printAllFit" method. This method sends the document to the default printer of the OS.
    The problem that I have is that the client uses more than one printer, so I need to change the default printer before the method invocation. But if I change the default printer (manually or programmatically by a custom ocx) the ActiveX is still sending the document to the initial default printer.
    I have solved the problem for Acrobe Reader 8 (or lower) by killing the Windows process of the Acobat Reader ("AcroRd32.exe") before a new method invocation, but in Acrobat Reader 9 this process doesn't exist (I think that it is associated to the IE process, and I can't terminate it).
    Any idea to solve this problem?
    Thank you very much for your help

    With Reader 9, there is one process per PDF that is opened.

  • Hi, I was working on a PDF writing comments using Adobe Reader on a Mac.  I clicked save and got a 'cannot save' message.  I then clicked save as instead, Reader froze and my PDF disappeared.  The only version saved has only my first comment.  Does Adobe

    Hi, I was working on a PDF writing comments using Adobe Reader on a Mac.  I clicked save and got a 'cannot save' message.  I then clicked save as instead, Reader froze and my PDF disappeared.  The only version saved has only my first comment.  Does Adobe Reader save to temporary files that I can access in order to recover my work?  Is there any other way to recover it?  Thanks!

    Hi @Pat Willener,
    since I got the same problem as pdfprincess I hope you can help me. The 'Automatically save document changes to temporary file...' is enabled in my adobe reader.
    A file I worked (commented) on a lot crashed. When I reopened the file, adobe reader didn't ask if I want to restore my changes in this file, as it is written on the help.adobe.com page. Is there any possibility to restore the changes manually from the temporary file?
    Thanks in advance - it is really important for me to restore these changes!!

  • I have a windows 7 system and use Adobe Reader XI, 11.0.05  All my excel spreadsheet files have conv

    I have a windows 7 system and use Adobe Reader XI, 11.0.05  All my excel spreadsheet files have converted to Adobe files and I cannot access my excel spreadsheets.  I uninstalled Adobe and reinstalled the version all over, and I also downloaded a security patch, however, I am still having the same problem.  Does anyone know what is causing this to happen and what I might be able to do to fix this ?  Thank you

    I don't understand; did you really convert all your Excel docs to PDF (how?), or did you merely lose/change the file association?
    If the latter, that's really easy: http://windows.microsoft.com/is-is/windows7/change-the-program-that-opens-a-type-of-file

  • Adobe PDF Form (submission by email) - ok on desktop, but using Adobe Reader on iPhone cannot 'submit'

    I recently created an Adobe form (Adobe XI Pro) with a 'submit' button - submission by email (not using Forms Central).  The form works well on desktop (Outlook 2010), but when I open the same PDF on mobile (Adobe Reader installed), the 'submit' function is a dud - does nothing.  Any ideas for a fix?  Thanks.

    If your user is using Adobe Reader and wants to add an attachment to your PDF file... you need Adobe LiveCycle Designer Reader Extensions to do that...
    If your user is using Adobe Acrobat Pro then u can add attachments with this
    var myDoc = event.target;
    var sFile = "myFile" + NumericField1.rawValue;
    myDoc.importDataObject({cName: sFile});
    var myDataObject = myDoc.getDataObject(sFile); 
    var sFileName = myDataObject.path; 
    ListBox1.addItem(sFileName,sFile); 
    NumericField1.rawValue = NumericField1.rawValue + 1;
    you can also remove the file
    myDoc.removeDataObject(sFile);
    you can also open the file
    myDoc.exportDataObject({ cName: sFile, nLaunch: 2 });

  • If I use adobe reader 7.0 to open LiveCycle Designer ES2, what will happen?

    Hi,
    I am planning to recommend adobe LiveCycle Designer ES2 as a forms designer software to a corporate client. But it seems that the client is still using the old version of adobe reader 7.0.
    So I need to know that is it essential to use adobe reader 9.0 for designer ES2, and if by adobe reader 7.0, what problem would be happen?
    It is very helpful If there is some detailed information about it.
    Thanks
    En Shoku

    Hi,
    When you design a form in LC Designer ES2 you can set the target version of Acrobat/Reader in the File > Form Properties > Defaults tab.
    While you can target v7, you need to be aware that some of the functionality in LC Designer ES2 is not supported in Reader v7. For example in LC Designer you can set the presence of an object to 'visible (screen only)', but this is not supported in Reader v7, so would cause a problem. So for each form you would need to set the target version and then check the Warnings palette to see if there are any problems.
    Check out the post by John Brinkman discussing Acrobat X, as this has a very handy table for the LC Designer/XFA Specification and Acrobat/Reader versions: Acrobat X and XFA 3.3
    XFA Version
    Acrobat/Reader
    2.1
    6.02
    2.2
    7.0
    2.3
    7.0.1, 7.02
    2.4
    7.0.5, 7.0.7
    2.5
    8.0
    2.6
    8.1, 8.1.1
    2.8
    9.0
    3.0
    9.1, 9.2, 9.3
    3.3
    10.0
    You can see there are alot of changes around v7 and that if the user has Reader v7.0.7, then you can utilise the features in XFA Specification 2.4.
    The other issue to be aware of is that users with Reader will NOT be able to save data in the form UNLESS the form has been Reader Enabled before the form is deployed.
    The form can be Reader Enabled in two ways:
    Using Acrobat Standard v9 or Acrobat Professional v7 or v8. Has licence restrictions, see EULA.
    Using a server produce called Adobe LiveCycle Reader Extensions ES2. Additional costs.
    Here is a summary of the options available to users with Reader, depending on whether the form is Reader Enabled AND how it was enabled:
    There is a post here and a PDF summary:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Hope that helps,
    Niall

  • Hi i use adobe reader for SARS efiling through firefox and SARS says not compatible with Firefox to open adbobe reader and file my Tax returns via SARS website

    I,m having problems trying to file my SARS tax returns via SARS efiling on their website sarsefiling.co.za .They use adobe reader to open their documents ie EMP201 PAYE and EMP501 VAT returns
    it won,t open the document in order for me to capture the company information on their website . I have mozzilla firefox as my protection for sites and emails I go through mozzilla to open adobe documents /attachments . it seems with SARS website doesn,t like this .So how do i go around trying to do my job at work . Thanks linda Desperate now ...........

    I think I found a Windows setting that is causing the issue. I'm using
    my LCD HDTV as the monitor for this computer, and in order to see the display easily, I have the following setting in Windows 7: Control Panel > Appearance and Personalization > Display > Make text and other items larger or smaller > 150%.
    When I change this to the default of 100%, the problems with Reader X in Firefox and IE disappear. Reader 9, however, works perfectly at 100% and 150%.
    Is this a known bug in Reader X? Since the problem only appeared when moving from Reader 9 to Reader X, it seems it's not an unsolveable incompatability or something that's too difficult to work around.
    Do any others with their displays magnified have this problem? Or does it work perfectly? Would anyone (preferably with Windows 7 64-bit) be willing to set their display magnification to 150% and see if they can replicate the problem?

  • When used as an Activex control in windows How can I prevent the "Q" logo from appearing between streaming videos?

    When used as an Activex control in windows How can I prevent the "Q" logo from appearing between streaming videos?

    Hello Cgifford,
    Welcome to National Instruments Forums.
    To output your signal to the PFI lines,
    you can use external connectios between OUT0 and PFI lines. You can also use
    the backplane to do so by routing into the same RTSI line.
    1)
    On the SCOPE and FGEN, the name of the
    terminals are actually “PXI Trigger Line x/RTSIx” but on the 6602 you might
    need to route the signal using the property:
    You can also use the DAQmx route signal which perform the same opperation.
    2)
    This will depend on the frequency of
    your pulse train. If this is lower than about 10 ms, then you can probably
    place this on a loop and start and stop the acquisition every time. If the
    frequency is higher than this, you will have to use:
    -       Scripting on the FGEN side (read more)
    -       MultiRecord Fetch (more information in the scope help file
    section “Acquisition Functions Reading versus Fetching”).
    3)
    The short answer is yes. The longer one
    might depend on how tight you need the synchronization to be (us, ns, ps). For
    very tight synchronization, you should look into here.
    Message Edited by Yardov on 06-18-2007 03:14 PM
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    property.JPG ‏7 KB

Maybe you are looking for

  • Can't eject .dmg

    I recently download a .dmg of a program and tried to install it, but the installer got stuck, so I had to cancel it. When it still wouldn't quit, I had to force quit it. Now, I try to eject the .dmg and get an "in use and cannot be ejected" error, no

  • Changing the system password after a node is defined in the Maintenance Wiz

    The system password has changed since the project started and I do not know the steps to make the change in the tool to the new password. The new password works fine in EBS command line stuff but the tool won't work because of the old password. Any h

  • Opening layered files that flatten

    Why are my layered tiff files flattening when I open them? I do get this message when that happens: This image was generated from source data that Photoshop cannot read. That data will be discarded. Continue reading? My layers are vector files from I

  • Peoplesoft HRMS 9.0 on External Hard Disk

    I have 4 GB of RAM and 1 TB hard disk in my Laptop. I just want to know that can i use external hard disk for Peoplesoft HRMS 9.0 package (Appserver + Tools + Weblogic + Database Server) and use it as plung and play with may laptop. Laptop has Window

  • MSS - Error while initiating Travel Form

    Hi All, After applying travel request from ESS, request go to the Manager Self Service of his/her immediate boss. In the universal worklist of MSS when manager clicks on the link of travel request -  Error Comes as: "Error while initiating travel for