Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VFP] - Blank form
#2
Hi,

Thank you for your question.

That the demo expired is not related to your problem. 
The control remains fully functional, but you'll get a nag popup on navigation every now and then.

Your issue is that the NavigateToString method does not automatically send a CreateWebView whereas Navigate does.
Creating the control like you did, only creates the AntView ActiveX wrapper, in order for the WebView2 control to function, it needs to create background WebView2 processes. There are not started automatically when you use NavigateToString.
Sending CreateWebView starts those processes.

The solution to your problem is to send a CreateWebView before the NavigateToString.

Hope this helps,
--
Wil
Reply


Messages In This Thread
[VFP] - Blank form - by cernik - 6 hours ago
RE: [VFP] - Blank form - by wila - 4 hours ago

Forum Jump:


Users browsing this thread: 1 Guest(s)