Avatar of João serras-pereira
João serras-pereira
Flag for Portugal

asked on 

WebBrowser Control - ms/ACCESS

Im am developing a small ms/access application. I have a ms/access 2016 database with Lat/Lon coordinates for several types of points and, for them, I want to show, on the web browser, where they are and what they are, using colours and pushpin types.
 
I am already able to center the map where it needs, provide appropriate zoom levels, etc. setting the control source of the webbrowser to:
"http://bing.com" & "/maps/embed/viewer.aspx?cp=" & [textGPS] & "&lvl=12&dir=90&sty=r&w=600&h=600"

I also learned the there is a Bing Maps V8 Web Control that provides the needed functionality as long as I am able to somehow develop programs in JavaScript/HTML/TypeScript for which Microsoft already proves samples that are good enough to me as they contain the today's required functionality (e.g.http://www.bing.com/api/maps/sdk/mapcontrol/isdk#createPushpinFromCanvas+JS) .

The problem now is, how do I, in the WebBrowser control, set up the javascript or html to run. Documentation mentions that we should use the  “DocumentText” property of the WebBrowser Control. But this property does no show...

How to do it?
Microsoft Access

Avatar of undefined
Last Comment
João serras-pereira

8/22/2022 - Mon