Results 1 to 14 of 14
  1. #1
    jared is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Location
    Sydney
    Posts
    5

    Access 2013 64 Bit and Acrobat PDF Active X Plugin

    We have been using the Reader Active X control to display PDF's on a form in an Access 2007 Database.


    We've just updated to 2013 64bit and to my horror have discovered that ActiveX controls are no longer supported by MS Access as of 2013.

    Can anyone suggest a method of displaying a PDF in a form? The pdf is always stored on the local or mapped network drive.

    I've tried the WebBrowser Control which works fine with images, but blocks PDF's as a restricted file.

    I appreciate any assistance or ideas here. thanks!

    Click image for larger version. 

Name:	WebControlBrowserError.PNG 
Views:	36 
Size:	32.0 KB 
ID:	15484

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974
    This makes me think can still use http://office.microsoft.com/en-us/ac...010354314.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Perhaps the issue is the third party ActiveX you want to use is not happy with your 64bit version of Office/Access. The following link suggests object frames are still available in 2013 versions.
    http://msdn.microsoft.com/en-us/libr.../ff822036.aspx

  4. #4
    jared is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Location
    Sydney
    Posts
    5
    Quote Originally Posted by ItsMe View Post
    Perhaps the issue is the third party ActiveX you want to use is not happy with your 64bit version of Office/Access. The following link suggests object frames are still available in 2013 versions.
    http://msdn.microsoft.com/en-us/libr.../ff822036.aspx
    Hi Itsme,

    since its the inbuilt Access ActiveX "WebBrowserControl", I'm guessing it's IE that has the issue. I'll try adding program files as a trusted location.

  5. #5
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    You can use the "Web Browser Control" which will use the default application installed on the PC to view the file.

  6. #6
    jared is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Location
    Sydney
    Posts
    5
    Hi Xipooo,

    I tried installing chrome and set as the default browser but still get the same warning/error per the original post.

  7. #7
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    You do not need to install web browser software. There is a control in Access called a "Web Browser Control". You draw it on your form just like you would a textbox, label, subform, etc. You can point the "Web Browser Control" to most files on your network or local drive and open it with whatever the default associated application is for that file. With PDF's, Adobe Reader will open the PDF file and display it within your "Web Browser Control" just like your ActiveX control does.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974
    Xipooo, poster said they are using the intrinsic Web Browser Control. But that isn't an Active X control as it is available from the regular controls set. So this is just very odd.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Quote Originally Posted by June7 View Post
    Xipooo, poster said they are using the intrinsic Web Browser Control. But that isn't an Active X control as it is available from the regular controls set. So this is just very odd.
    You're right, he did mention that he tried the Web Browser Control, but I think he was saying he got some restricted file usage. I don't think the Web Browser Control is what is displaying the error that he has shown the image of. It sounds like previously he was using an ActiveX control, but his attempt at web browser control had file restrictions. I would say targeting the file restriction would be the way to go since the WBC should be able to display his content for him. There is no other way that I know of to do so.... though I'd be ecstatic to learn otherwise.

  10. #10
    jared is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Location
    Sydney
    Posts
    5
    Thankyou both for your help.

    You're correct. I was originally adding a refernence to the Adobe Acrobat Library and using it's browser control. The 64bit Version of 2013 won't deal with it, and I'm happy with any alternative to display a pdf on a form.

    It's the Web Browser Control (ms access) that is giving the original posted error. I'm adding it to a form per below images:

    Click image for larger version. 

Name:	Screenshot 2014-02-21 08.07.35.png 
Views:	29 
Size:	23.5 KB 
ID:	15497 Click image for larger version. 

Name:	Screenshot 2014-02-21 08.07.54.png 
Views:	29 
Size:	42.5 KB 
ID:	15498

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974
    Try the Web Browser Control from the standard controls set, not the Microsoft Web Browser from the ActiveX set.

    It's the icon that looks like a web page with a globe. http://office.microsoft.com/en-us/ac...101631434.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #12
    jared is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2014
    Location
    Sydney
    Posts
    5
    Thanks June7,

    I get the same block. It's work fine with a .bmp, the error is only occurring with .pdf.


    When I click on the warning (Click here for options), I get the following prompts:
    Click image for larger version. 

Name:	Screenshot 2014-02-21 08.31.14.png 
Views:	28 
Size:	8.0 KB 
ID:	15499

    Clicking on allow blocked content results in:

    Click image for larger version. 

Name:	Screenshot 2014-02-21 08.33.34.png 
Views:	28 
Size:	24.8 KB 
ID:	15500

    Then clicking yes results in:

    Click image for larger version. 

Name:	Screenshot 2014-02-21 08.34.45.png 
Views:	27 
Size:	8.1 KB 
ID:	15501

    Click "open Desktop" has no response.


    If I type the path into the IE address bar (C:\ST5\scans\1.pdf) it opens the pdf immediately, without warning.

  13. #13
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974
    This is annoying. I don't get warning but PDF doesn't show. I know I've read elsewhere this supposed to work with PDF.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  14. #14
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I don't know for sure but the ActiveX warning seems to be coming from the Internet Browser. You may be able to do a trusted sites thing (you would have to add the mapped and UNC paths. I think IE looks at the name of mapped drives and not the letter, can't remember). I mention this because allowing content on the fly vs. before it loads into the control may be the issue.

    Alternatively, an unbound object frame may be beneficial. You can add the network locations to your DB's trusted locations and dynamically update the object frame's with the path to the PDF's. THis way you will not have to contend with the internet browser settings.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 21
    Last Post: 01-21-2014, 05:04 PM
  2. Replies: 1
    Last Post: 01-11-2014, 12:39 PM
  3. Acrobat Forms
    By sdc1234 in forum Misc
    Replies: 5
    Last Post: 12-13-2013, 12:57 PM
  4. Outlook 2013 + Access 2013 + HTML
    By Yann63 in forum Programming
    Replies: 2
    Last Post: 11-26-2013, 02:39 PM
  5. Access 2013 Web App with Sharepoint 2013
    By miguel.escobar in forum Access
    Replies: 7
    Last Post: 06-17-2013, 09:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums