Mohsin Malik
Registered User.
- Local time
- Today, 12:36
- Joined
- Mar 25, 2012
- Messages
- 179
Just tried, the LocationURL property is working fine for both web / local files.also has anyone noticed that the .LocationURL property does not work?
Just tried, the LocationURL property is working fine for both web / local files.also has anyone noticed that the .LocationURL property does not work?
Me.EdgeBrowser0.Navigate "https://isladogs.co.uk/uk-postal-address-finder/files/UKPAF%20User%20Guide.pdf"
Me.EdgeBrowser0.Navigate "https://msaccess/G:\MyFiles\MDS\Website\IAsite\curriculum-enrichment-organise\files\CEO_Program_Features.pdf"
Since this was your 10th post (10 is the magic number), you should be able to post a link now!but the forum thinks I'm spamming
What javascript are you using in retrievejavascriptvalue? And thats strange that the control works in headers/footers for reports but not forms, as under the hood they're essentially the same thing. I can look into thatI would like to report a few things. Firstly, over the past week, I have noticed a significant issue on my Office Insider account that the RetrieveJavascriptValue function no longer seems to function as expected. Whenever I attempt to use it timeout with an error message stating 'RetrieveJavascriptValue timed out. Please verify the JavaScript expression supplied is valid.'. I can confirm that this doesn't seem to occur for users on the current channel, and the same code executes flawlessly. Can anyone else confirm if they're encountering the same problem, or is it an isolated issue on my end? I believe this qualifies as a bug that needs to be addressed before rolling out to current channel.
Though the Edge browser control integrates seamlessly in ms-access continuous form and report, it also works great with the ReportHeader, PageHeader, Detail, PageFooter, and ReportFooter within Report. However, the EdgeBrowser Control does not work when you try to use in the FormHeader and FormFooter of an MS-Access form (you can refer to the attached screenshot for reeference). Is there something I might be missing or overlooking? I would appreciate any insights.
View attachment 108034
Hi Joe, thank you for your prompt response and checking. I am using a fairly straightforward script, as below. This script is working well for users on the current channel. but return timeout error for Insider build Microsoft® Access® for Microsoft 365 MSO (Version 2306 Build 16.0.16505.20000) 64-bit, no matter what I try, the return result is the timeout message: RetrieveJavascriptValue timed out. Please verify the JavaScript expression supplied is valid.What javascript are you using in retrievejavascriptvalue? And thats strange that the control works in headers/footers for reports but not forms, as under the hood they're essentially the same thing. I can look into that
Can't the new browser just do this?Javascript Expression:
Me.txtHTML = Me.EdgeBrowser1.RetrieveJavascriptValue("document.getElementsByTagName('table')[0].innerHTML")
Please let me know if you need any additional information, or have any questions.
Me.txtHTML = Me.EdgeBrowser1.Object.Document.getElementsByTagName("table")(0).innerHTML
No. The Object property doesn't exist in the Edge browser controlCan't the new browser just do this?
Me.txtHTML = Me.EdgeBrowser1.Object.Document.getElementsByTagName("table")(0).innerHTML
???
I don't have that browser control, what variables does the DocumentComplete event expose? is the pDisp variable not available anymore?No. The Object property doesn't exist in the Edge browser control
Private Sub EdgeBrowser0_DocumentComplete(URL As Variant)