Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error: Interface not supported -2147418113
#4
Hello again,

Sadly I had no time to look into this yesterday as I had another VB6 issue to chase down, butĀ this morning I did manage to find a workaround for your problem.

Whereas it works OK in VBA, it seems like that VB6 does not get the dispatch pointer of the object. Even if you had the dispatch pointer of the object, it does not let you assign that to the CurrentBrowser property which takes the specified interface dispatch pointer.

The workaround I have is twofold.
First, a function has been added to the browser control to expose the dispatch pointer.
Secondly, a new method was created for the document interface so that you can connect the AntView Browser object via that dispatch pointer.
With that, it all seems to work OK in Visual Basic as well.

I will have a test version for you this evening or tomorrow as this afternoon I'm having some time away from the computerĀ  Big Grin

Hope this helps,
--
Wil
Reply


Messages In This Thread
RE: Error: Interface not supported -2147418113 - by wila - 2022-04-12, 12:38:11

Forum Jump:


Users browsing this thread: 1 Guest(s)