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.
Microsoft Applications

Avatar of undefined
Last Comment
databarracks
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?
Avatar of databarracks
databarracks

ASKER

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?
Avatar of databarracks
databarracks

ASKER

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of databarracks
databarracks

ASKER

I think you might be right. I will leave this one at that, thanks for your help once again.
Microsoft Applications
Microsoft Applications

Microsoft applications include a variety of software programs, including development and digital authoring programs (Expression and Media Center), educational programs, Internet software, including Essentials, Skype and the Live family, anti-virus, productivity applications and suites like Office, Excel, Word, Outlook, Access and PowerPoint, video games and server applications such as Exchange, SharePoint, IIS and Virtual Server.

45K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo