Link to home
Start Free TrialLog in
Avatar of databarracks
databarracks

asked on

MS Access Web Browser Control

Hi there,

I hav been using the Web browser control in my application and has worked perfectly fine so far. However I was wondering whether or not it was possible to view a local web page (html file saved on my machine like c://something/somthing.htm) with java script running. I would also need to ensure that the java script prompt doesn't keep popping up too, as it is annoying:)

I have tried but to no avail. My aim is to test whether or not I could use a google interactive chart in my acces application, as I have successfully used google image charts in the past with no problems whatsoever.
Avatar of Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
Flag of United States of America image

Yes it is possible to use Google charts in Access. I do it some of my Access apps.

The Access 2010 Web browser control uses the IE engine. Have you tried turning off the Java waring in IE?


Note: The web browser control can be used to view any file; that you can view with IE.  I use it as a PDF viewer.


Avatar of databarracks
databarracks

ASKER

Hi there,

I wouldn't know where to deactivate this in IE as I use Firefox 99% of the time. Even so, the web browser control doesn't pickup html files stored locally but as mentioned before works fine with google charts and maps etc. Would you  have used google interactive charts in your ms access application as I can do this for the image charts but as you know aren't that aesthetically pleasign hence my query?
I have put the same html file on my web server and called the html through the web cnotrol and it worked without any warnings too. However I don't want the html file to reside on my webserver as it has information that I don't want to make public, hence the need to store it on a locally shared drive?
Should I activate IIS perhaps? And use a localhost path?
AFAIK, the Access 2010 Web Browser control is a IE Wrapper. This means it uses whatever version of IE is installed and configuration settings in Internet Options.

I regular view html files I generate on the file in Access.  I use Google charts to generate images that I download. I create a html file to view the images on a Access form..  The charts are NOT interactive.

The key is is the html files do not include any server side scripts that must be processed  via a web server.

It sounds like the html you are creating requires a web server to process the file.  

ASKER CERTIFIED SOLUTION
Avatar of Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think you might be right. I will leave this one at that, thanks for your help once again.