Hi,

Pop-up windows are a known problem, see bug 239235 '[ActiveX] Use IE or implement browser frame for popups':
https://bugzilla.mozilla.org/show_bug.cgi?id=239235


You work round this bug using the NewWindow2 event. You can block popups by setting the Cancel argument to true. To open a popup, create another control and return with an IWebBrowser interface to it in the ppDisp argument. I have Delphi code for this but not VB.

JavaScript should work as expected. (i.e. as Mozilla suite)

You can pass more than one argument to Navigate but I think they are ignored. Worth trying it though, my memory may be wrong.

ActiveX controls kind of work if you have Adam's ActiveX plugin installed. This should come with the control and is called npmozax.dll (found in \plugins) if not you can find it on the same site. I say kind of work because there are problems with the Flash ActiveX control (navigation doesn't work). I think these problems are probably because you've got an ActiveX control hosted in a plugin hosted in an ActiveX control - Windows is probably confused.

Hope this helps,
Dave.

Dave Murray
Glasgow, UK
PGP KeyID: 0x838592B3

Remove NOSPAM from my email address to reply.





Cyriaque wrote:
hello the list =)

i'm crrently develloping a vb.net project using a wysiwyg : htmlarea,
i need to use the mozilla control from :
http://www.iol.ie/~locka/mozilla/mozilla.htm,

i have installed the last version , and put on the form the control,
(it is green)
i can browse internet with the navigate command, but, there is no way
to open popups or secondary windows from the vb.net appi, (it works
with ie control) and the wysiwyg is not loading inside the textarea.

Notes that the wysiwyg works with mozilla and firefox, So i can imagaine that i firget some code to allow js and popups and
be abble to open seondary sub windows from the mozilla plugin.


here is the code that i use in the project :
(after puting on the form the mozilla control)
AxWebBrowser1.Navigate("D:\A
travail\sorovim\appi\bin\h\h\context-menu.html")
AxWebBrowser1 is the ocntrol on the form.

Second Question : is there any way to give arument to the control like
with the ie control :
Dim a2 = "javascript:insertHTML();"
                'MsgBox(aaa)
                AxWebBrowser1.Navigate(a2, , , "POST")

if you can help me ...

Thx

CR
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to