Antwise community forums
New to Antview - Error while navigating - Printable Version

+- Antwise community forums (https://forums.antwise.com)
+-- Forum: Antview (https://forums.antwise.com/forumdisplay.php?fid=11)
+--- Forum: Antview for Windows (https://forums.antwise.com/forumdisplay.php?fid=12)
+--- Thread: New to Antview - Error while navigating (/showthread.php?tid=104)



New to Antview - Error while navigating - TEE - 2022-02-24

Hello,

I am new to this tool, want to try our before we go for full susbscription. I have created a basix xlsm file with AntView web browser control and a button. When the button is clicked, I want to navigate to a web page. And below is my code in btnclick event


Sheet1.Antview.UnlockControl "ExampleCompany", "--- ---- ----- --- ---"
Sheet1.Antview.Navigate "http://www.google.co.uk"

But when above code is executed, nothing happens, web page doesnt show up in the control ? Its just blank.

And In the immediate window I see this, 

?Sheet1.Antview.LastErrorMessage()
Get UserAgent The CoreWebView2Settings object is not instantiated.


Any ideas please ?


RE: New to Antview - Error while navigating - wila - 2022-02-24

Hi,

That's pretty much the same as what we do in the demo excel application, so -at least in theory- that should work.
Have you tried the excel demo?
Does it work there?

When you say the "control comes up blank", does it have a white background or a gray one?

--
Wil


RE: New to Antview - Error while navigating - TEE - 2022-02-24

(2022-02-24, 16:08:29)wila Wrote: Hi,

That's pretty much the same as what we do in the demo excel application, so -at least in theory- that should work.
Have you tried the excel demo?
Does it work there?

When you say the "control comes up blank", does it have a white background or a gray one?

--
Wil


True, I checked the demo excel application and its the same and the demo works as well. I tried to replicate the same in a separate workbook, strange thing, doesnt work. THe control remains grey. I cant attach xlsm files here looks like...

Appreciate it.


RE: New to Antview - Error while navigating - wila - 2022-02-24

I think you can attach the xlsm when you zip it first?