Results 1 to 2 of 2
  1. #1
    hilfesucher is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2015
    Posts
    5

    Web Browser control in access form

    Hallo,

    I have access 2007 and I want to display a PDF file in a form. I read that I can create it with "Web Browser control" .
    What I need is how to open various PDF file from the folder (the folder is called “PDF”) is located in “C:\Users\RU\Desktop\PDF”.
    When I write the name of the PDF in the textbox and click the button, the PDF loads directly in Form.
    Thanks

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    I have always opened PDF files in a new window using Acrobat Reader. In a rare circumstance, I have used OLE controls to provide a preview of PDF's. Alternatively, you can use the Web Browser Control to open the PDF with Internet Explorer. I was able to get the following to work
    Code:
    Dim strPath As String
    strPath = "=""C:\Test\PDF_Files\TestPDF.pdf"""
    
    Me.WebBrowser0.ControlSource = strPath

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

Similar Threads

  1. Replies: 1
    Last Post: 02-23-2015, 06:15 AM
  2. Web Browser Control
    By MFS in forum Programming
    Replies: 0
    Last Post: 02-28-2013, 11:08 AM
  3. Web Browser Control
    By imran688 in forum Programming
    Replies: 1
    Last Post: 11-29-2012, 03:52 PM
  4. Web Browser Control
    By ctgann in forum Forms
    Replies: 5
    Last Post: 03-18-2011, 08:17 PM
  5. Web Browser Control Problem
    By ctgann in forum Forms
    Replies: 0
    Last Post: 03-06-2011, 06:09 AM

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