Hi,
Yes, there's a tiny detail missing.
Instead of:
try:
WebView2 does not try to be smart on the type of URL that you are passing, so if it is missing the protocol part then it won't work.
AntView does not add that part either.
It might be something worthwhile considering to add as you are certainly not the first one who bumps into this.
Edit:
Did you notice that the control comes with VB6 examples? They are installed in the Public Documents area.
Eg. under C:\Users\Public\Public Documents\AntView
--
Wil
Yes, there's a tiny detail missing.
Instead of:
Code:
antview1.navigate("www.google.com")
Code:
antview1.navigate("https://www.google.com")
WebView2 does not try to be smart on the type of URL that you are passing, so if it is missing the protocol part then it won't work.
AntView does not add that part either.
It might be something worthwhile considering to add as you are certainly not the first one who bumps into this.
Edit:
Did you notice that the control comes with VB6 examples? They are installed in the Public Documents area.
Eg. under C:\Users\Public\Public Documents\AntView
--
Wil