2019 R3 Build 2803
I'm transitioning from using a Microsoft Web Browser OLE control on a tabpage in a window to the recommended Web Browser control (WebView2).
A couple of things:
1. Any URL I use in the Navigate function takes 20 seconds to display within the Web Browser control. Once displayed, there is no delay browsing within the control. Why? How do I fix this? Disabling anti-virus was no help. Firewall's not holding it back.
Compared to using the old OLE control or pasting the url to chrome, the websites open normally --less than a few second(s). I thought maybe it was my dev pc so I compiled and tried on my test pc but it's still waiting 20 seconds to show a URL. Both pc's are Windows 10 Enterprise N 22H2.
li_rtn = wb_1.Navigate(ls_URL)
2. I'd like to know how I can programmatically clear the cache on a Web Browser control.
As always, thanks for any help.