Results 1 to 7 of 7
  1. #1
    jimmykent is offline Novice
    Windows 10 Office 365
    Join Date
    Oct 2023
    Location
    Missoula, MT
    Posts
    3

    Edge Browser Control - Inconsistent Behavior

    Using Access 365 on Windows 10, I have had inconsistent results using the new Edge Browser Control (EBC). Specifically trying to display locally stored PDF files. I am using the Navigate method in VBA with the required prefix (https://msaccess/) as directed. In the form containing the EBC I created a few public properties, including one for the local file path, that can be manipulated at runtime. On a fresh opening, each one of three PDFs display fine (I'll refer to them as 1,2, and 3). However, when navigating between them with the form left open utilizing the Navigate method, PDF 3 displays fine but 1 and 2 each result in a blank white page. Here is the html showing in the browsers dev tools I inspected:



    "<html><head></head><body style="overflow: auto;"></body></html>"

    After capturing the NavigateError event, I found it is giving a Status Code 8 - Host Name Not Resolved.

    All three PDFS are in the same folder.


    Any ideas?

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    There is a long thread here https://www.access-programmers.co.uk...y-here.326988/ that discusses various issues with the new Browser control, and has had responses from the Access team.
    Might be worth a read, and the similar threads listed below it.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    jimmykent is offline Novice
    Windows 10 Office 365
    Join Date
    Oct 2023
    Location
    Missoula, MT
    Posts
    3
    Thank you! I meant to update my post with this. My bad.

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    No biggee, at least you mentioned it in the other forum.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    jimmykent is offline Novice
    Windows 10 Office 365
    Join Date
    Oct 2023
    Location
    Missoula, MT
    Posts
    3
    What is also my bad is that I finally discovered the bug in my system causing the problem. It was not the browser. I would like to update the original post, but the Edit Post link is not available.
    Last edited by jimmykent; 10-21-2023 at 11:28 AM. Reason: Clarification

  7. #7
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Just put the details in another post?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 4
    Last Post: 01-25-2019, 02:42 PM
  2. Replies: 6
    Last Post: 05-14-2013, 10:47 PM
  3. Web Browser Control
    By MFS in forum Programming
    Replies: 0
    Last Post: 02-28-2013, 11:08 AM
  4. Web Browser Control
    By imran688 in forum Programming
    Replies: 1
    Last Post: 11-29-2012, 03:52 PM
  5. Web Browser Control
    By ctgann in forum Forms
    Replies: 5
    Last Post: 03-18-2011, 08:17 PM

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