Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nothing displays in Antview browser window VB6
#11
Hi,

In order to receive a webmessage that is send from javascript, you need to enable it via the property WebMessageEnabled and set that to true before sending a webmessage.
The mechanism is described here: VB6 - Web Message Example.

Using script dialogs to transfer data is.. a bit non standard I guess, although I suppose it is possible.
In order to have the onScriptDialogOpening event to trigger, you have to set the property DefaultScriptDialogsEnabled to false to indicate that you want to handle the dialogs yourself.

If you can adjust the javascript to send a webmessage then that's what I would go for.

--
Wil
Reply


Messages In This Thread
RE: Nothing displays in Antview browser window VB6 - by wila - 2023-08-22, 21:17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)