[AccessD] [EXTERNAL] Re: New Web Browser Control - Local Files for Google Maps

Ryan W wrwehler at gmail.com
Sat May 20 07:57:03 CDT 2023


Perhaps it too, needs to be prefixed? https://msaccess/C
:\AATemp\htm\images\BuildingMarker.png?



On Sat, May 20, 2023 at 7:46 AM David Emerson <newsgrps at dalyn.co.nz> wrote:

> The current line (which works when the file is opened directly in a web
> browser) is:
>
> var image = 'file:///'+dir+'/htm/images/' + parms[3]+ '.png'
>
> which translates to:
>
> var image = 'file:///C:/AATemp/htm/images/BuildingMarker.png'
>
> Should this be changed in some way?
>
> Regards
>
> David Emerson
> Dalyn Software Ltd
> Adelaide, Australia
>
>
>
>
> -----Original Message-----
> From: AccessD <accessd-bounces+newsgrps=dalyn.co.nz at databaseadvisors.com>
> On Behalf Of David Emerson
> Sent: Saturday, May 20, 2023 10:03 PM
> To: 'Access Developers discussion and problem solving' <
> accessd at databaseadvisors.com>
> Cc: 'Shane Groff' <shaneg at microsoft.com>
> Subject: Re: [AccessD] [EXTERNAL] Re: New Web Browser Control - Local
> Files for Google Maps
>
> I checked and the folder (and subfolders) are trusted locations.
>
> Just to confirm, the file seems to load.  It is the processing of the
> HTML/javascript syntax that I seem to have problems with in getting the
> image files recognised for the map markers.  I am guessing that this is
> causing the whole webpage to stop loading.
>
> Regards
>
> David Emerson
> Dalyn Software Ltd
> Adelaide, Australia
>
>
>
> -----Original Message-----
> From: AccessD <accessd-bounces+newsgrps=dalyn.co.nz at databaseadvisors.com>
> On Behalf Of Ryan W
> Sent: Saturday, May 20, 2023 9:20 PM
> To: Access Developers discussion and problem solving <
> accessd at databaseadvisors.com>
> Cc: Shane Groff <shaneg at microsoft.com>
> Subject: Re: [AccessD] [EXTERNAL] Re: New Web Browser Control - Local
> Files for Google Maps
>
> David
>
> Perhaps any local files Access tries to load with any scripts needs to be
> in a trusted location? Just a thought.
>
> Sent from my iPhone
>
> > On May 20, 2023, at 12:01 AM, Shane Groff via AccessD <
> accessd at databaseadvisors.com> wrote:
> >
> > It's in Office 365 Current Channel, Version 2304.
> >
> > Shane
> >
> > -----Original Message-----
> > From: AccessD
> > <accessd-bounces+shaneg=microsoft.com at databaseadvisors.com> On Behalf
> > Of Rocky Smolin
> > Sent: Friday, May 19, 2023 9:52 PM
> > To: Access Developers discussion and problem solving
> > <accessd at databaseadvisors.com>
> > Subject: Re: [AccessD] [EXTERNAL] Re: New Web Browser Control - Local
> > Files for Google Maps
> >
> > Wow! Nice! What version of access has that browser control?
> >
> >> On Fri, May 19, 2023 at 9:34 PM Shane Groff via AccessD <
> accessd at databaseadvisors.com> wrote:
> >>
> >> Yes, that is documented here:
> >> https://supp/
> >> ort.microsoft.com%2Fen-us%2Foffice%2Fuse-the-edge-browser-control-on-
> >> a
> >> -form-f9f731be-8f9b-4dd2-a5cb-525cfaed52d5%23%3A~%3Atext%3DAdd%2520an
> >> %
> >> 2520Edge%2520Browser%2520Control%2520to%2520a%2520form%2Cbox.%25204%2
> >> 5
> >> 20Do%2520one%2520of%2520the%2520following%253A%2520&data=05%7C01%7Csh
> >> a
> >> neg%40microsoft.com%7Caa323b65bd0b47d64dd708db58edf614%7C72f988bf86f1
> >> 4
> >> 1af91ab2d7cd011db47%7C1%7C0%7C638201551312601836%7CUnknown%7CTWFpbGZs
> >> b
> >> 3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
> >> %
> >> 7C3000%7C%7C%7C&sdata=7h6mcE%2BfLJFsaHhL5ncY3bkTCKGE1agjoxGOJV3zQbE%3
> >> D
> >> &reserved=0
> >>
> >> In the 'Navigating to Local Files' section.
> >>
> >> Shane
> >>
> >> -----Original Message-----
> >> From: AccessD
> >> <accessd-bounces+shaneg=microsoft.com at databaseadvisors.com>
> >> On Behalf Of Ryan W
> >> Sent: Friday, May 19, 2023 5:45 PM
> >> To: Access Developers discussion and problem solving <
> >> accessd at databaseadvisors.com>
> >> Subject: [EXTERNAL] Re: [AccessD] New Web Browser Control - Local
> >> Files for Google Maps
> >>
> >> IIRC you have to prefix the local file URL with http(s?)://msaccess/
> >>
> >> eg:
> >> https://msaccess/C:\mywebpage.html
> >>
> >> did that not work?
> >>
> >> On Fri, May 19, 2023 at 7:33 PM David Emerson <newsgrps at dalyn.co.nz>
> >> wrote:
> >>
> >>> Hi Team,
> >>>
> >>>
> >>>
> >>> I have been using some code which creates a local file for mapping
> >>> sites onto Google Maps.  It has worked fine when opening up the file
> >>> directly in a browser.
> >>>
> >>>
> >>>
> >>> When I try to open the file in the new web browser control the web
> >>> page doesn't appear.
> >>>
> >>>
> >>>
> >>> Does anyone have experience with this that I could share my file
> >>> with to see where I am going wrong?
> >>>
> >>>
> >>>
> >>> I have read through this sight but without success:
> >>>
> >>>
> >>> https://www/.
> >>> access-programmers.co.uk%2Fforums%2Fthreads%2Fmicrosoft-access-edge-
> >>> br
> >>> &data=05%7C01%7Cshaneg%40microsoft.com%7Ca2b4391054bb460ba0f808db58c
> >>> b7
> >>> c2b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638201403225678040%
> >>> 7C
> >>> Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik
> >>> 1h
> >>> aWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FuudVimiekZ9IXctSU8vHGUdKsv
> >>> K9
> >>> pNacDz8z3zfhn4%3D&reserved=0
> >>> owser-control-is-finally-here.326988/
> >>> <https://www/
> >>> .access-programmers.co.uk%2Fforums%2Fthreads%2Fmicrosoft-access-edge
> >>> -b
> >>> rowser-control-is-finally-here.326988%2F&data=05%7C01%7Cshaneg%40mic
> >>> ro
> >>> soft.com%7Ca2b4391054bb460ba0f808db58cb7c2b%7C72f988bf86f141af91ab2d
> >>> 7c
> >>> d011db47%7C1%7C0%7C638201403225678040%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> >>> oi
> >>> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C
> >>> %7
> >>> C%7C&sdata=D2PeMmM3JlJQhP8f2HQ0K7itBLWE9gTJ%2FZfM6TuhVJE%3D&reserved
> >>> =0
> >>>>
> >>>
> >>>
> >>>
> >>> Regards
> >>>
> >>>
> >>>
> >>> David Emerson
> >>>
> >>> Dalyn Software Ltd
> >>>
> >>> Moved from Wellington, NZ.  Now in Adelaide, Australia
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list