Hi,
I’m working on an application which connects to MYOB (an Australian/New Zealand accounting system) company files in cloud via their API.
As a starting point I’m using a sample application (https://github.com/MYOB-Technology/AccountRight_Sample_vb.net/tree/master/MYOBApi.VB.Net).
The sample gets an OAuth code via setting the URL of a WebBrowser control to (e.g. “https://secure.myob.com/oauth2/account/authorize/?client_id=[*******]&redirect_uri=http%3a%2f%2fdesktop&scope=CompanyFile&response_type=code”) and waiting for the DocumentTitleChanged event to be triggered at which point it reads the DocumentText of the WebBrowser control and looks for “code=” in the DocumentText.
When ported to Wisej, DocumentTitleChanged and DocumentText are not implemented.
I’ve attempted to resolve how to get the DocumentText from the WebBrowser but without success, so looking for assistance.
Thanks in advance,
Roger.
You cannot access the content of an iframe (from a different URL). All browsers will block any attempt. The WebBrowser running on the desktop is not an iframe, the WebBrowser running in the browser is an iframe.
Please login first to submit.