Hmm...
However, I'm fairly sure that AcroPDF.dll hasn't been a requirement for many years with Edge and other browsers having PDF functionality.
.
Above is correct, but still in ALL cases, the browser control in Access ALWAYS did require the Adobe plug in....
Did you try installing the older legacy Adobe reader?
And I tried making Acrobat the default - no effect whatsoever.
Has to be a older legacy version that includes AcroPDF......
I'm just going for coffee, and I have that win 11 vm. It has no pdf viewer, will try Access (have to use runtime) and see if the pdf shsows.
(I doubt it will).
From what I recall:
The original Edge (EdgeHTML engine), from some point to 2020 did have a built-in pdf viewer, but Access could NOT use it!!
(hence adobe AcroPDF.dll was required).
And that older edge never exposed a plug-in that Access could use....
And from what
I recall, then Access could ONLY ever use the AcroPDF.dll. Edge chrome engine browser did not change nor fix this issue.
When Adobe removed that plug in, then Access could not render PDF's.....
So, even with legacy Edge, even when it did get/or have PDF ability? Access could NEVER use it....
And even with the new Edge, again, did not matter....
But, Adobe Reader DC still shipped the AcroPDF.dll.... (now it does not....)
Around win 10, then Edge Chromium appeared - and it again can display PDF's, but again, Access did not use that feature - it will still showing PDF's via the Adobe path/plug in.
The problem thus is Adobe does not include the AcroPDF.dll anymore -- and this occurred during the win 10 to 11 transition.
Hence, installing a legacy Adobe reader should fix this issue, using the newer version Adobe will NOT work
(so, any version of Adobe such as 2021.007.200099 or earlier should work).
so, say this one:
I'll test this in a bit when I can remote into that vm of mine....
Confirmed!!!!!!!!
So, as I suspected:
Access web control NEVER at ANY point in time could show a PDF unless the AcroPDF.dll was installed correctly.
Access at no point in time could display a PDF, and the newer or older edge did not matter.
In above test, fresh win 11 vm, Access could not display the PDF, the behavour was exact as yours - you get a external prompt to open the PDF (makes sense at least to give that option, since Access can't display the pdf). This then would launch the web browser, since at this point in time I did NOT have Adobe reader intsalled.
Installing the legacy version of Adobe, it now works...... (and first time I did it, I got a prompt from Adobe -- EULA....).
Bottom line:
You need the AcroPDF.dll, and if I have time, I'll test to see if that one .dll can be just registered without installing the reader - but regardless, we have a working solution......
R
Albert