i use a webbrowser control, it worked a long time , all of a sudden it doen't show the local file anymore ... what chged ? or what should i change ?
i use a webbrowser control, it worked a long time , all of a sudden it doen't show the local file anymore ... what chged ? or what should i change ?
Hi,
I've seen a similar report elsewhere. In order to report it as a bug it would be important to know your version of Access.
If you go to File - Account you see the exact version number and with a click on About Access you see if it is 32 or 64 bit.
Servus
Karl
Hi,
As I wrote, there are other reports about this. So, it looks like it's an update bug in the latest version of 64 bit Access.
You didn't specify your version number, but if you're on the latest build, you could possibly try reverting to an earlier version and turning off/delaying updates until it's fixed:
https://support.microsoft.com/en-us/topic/how-to-revert-to-an-earlier-version-of-office-2bd5c457-a917-d57e-35a1-f709e3dda841
Servus
Karl
Do you need to show the files within a form? Is it okay to simply open the file browser instead?
i need to see the file . it is so strange, it worked for years and now all of a sudden i do not see anything in the webbrowsercontrols , in all access databases where i use this . can it have something to do with an update or something ?
... even if a make a totally new form and i add a webbrowsercontrol and i choose an existing file, it gives me nothing.
Re: "... even if a make a totally new form and i add a webbrowsercontrol and i choose an existing file, it gives me nothing."
Are you saying you want to see the contents of a file in the browser? If so, as Viorel-1 asked earlier, what type of file is it?
yes i want to see the content and the file is a pdf file
Perhaps look over
https://www.devhut.net/2020/08/02/access-display-pdf-inline-in-a-form/
I'm hoping the new webbrowser control will include native pdf viewing like all other modern browsers, but until it arrives ...
As a temporary workaround, maybe replace the WebBrowser control with a button, which executes a code like this:
FollowHyperlink "C:\MyFiles\Sample.pdf"
It will open the default viewer (a modern browser or Acrobat Reader), which maybe is more convenient.
By the way, it seems that the support for Internet Explorer (which is used by WebBrowser control) will end soon: https://techcommunity.microsoft.com/t5/microsoft-365-blog/microsoft-365-apps-say-farewell-to-internet-explorer-11-and/ba-p/1591666.
viewing the file in Adobe works. that is no problem.
But i like to have it in the form.
What is Microsoft doing then ? why does the webbrowser control exists in Access if it doesn't work because of Internet Explorer ?
6 people are following this question.