Link to home
Create AccountLog in
Avatar of João serras-pereira
João serras-pereiraFlag for Portugal

asked on

Web browser active X does not show site

I am developing on ms/access 2016. Its a quick applications where, on a table, I do have some Latitude and Longitude coordinates and I just want to open Bing Maps, inside a web browser frame, and show the location. I am trying to use bing maps as, for the country  (Guinea-Bissau), the satellite images are much better.

So I have a string, containing the "command line", which is: http://bing.com/maps/default.aspx?cp=11.9186111111111~15.9505555555556&lvl=19&style=h"&dir=90 and works perfectly on a browser, but nothing shows on the control

can anyone help?
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Yes, have been down this road before...took me hours and hours to find the solution.

it's the compatibility mode setting on the web browser control.   It emulates something like IE 7 by default, which won't display bing maps.

 Note that bing showing up as a white page can happen on a normal station to.   Give me like 5 minutes to dig out the setting (it's a registry entry).

Jim.
Ok the best Key is:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

as this doens't require admin rights, but you can set it on the local machine key as well.

 Under that Key, enter a DWORD key of MSACCESS.EXE and set the value to 0x00002711 (10001)

 I also have in my notes that I set FEATURE_GUI_RENDERING to a value of 1, but I'm not sure that's actually required (believe I tired that for some performance improvements).

Jim.
Avatar of João serras-pereira

ASKER

Hi Jim .

is is something as the attached?

joaoUser generated image
No, that's not right.  It should look like this:

User generated image  


You want to right click on the key "FEATURE_BROWSER_EMULATION", select new, DWORD value and call it MSACCESS.EXE.   Then set it's value.

Jim.
and I ended up leaving that GPU rendering off by the way, so the one setting is all you need.

Jim.
Hi Jim -

Please check the attached. I am sending in the screenshots and the database so you may doublecheck. Behaviour is the same (and I have rebooted the machine to make sure that I am starting in a clean environment.

I did not put yet a first background page, and the idea is, when I press a button it will look into the village. when I change village it just puts a background


:(

User generated image

User generated imagesiresh-gb.03.01.accdb
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Yes!
thanks for the help!