Hi,
If you would like to use Mozilla instead of IE for ActiveX, try out this .
You can download the ActiveX control here. It seems to also be included in newer versions of Mozilla or something, however it seems to not be included in Firefox. So just get it there.
Here's the example:
#include <GUIConstants.au3>
$oIE = ObjCreate("Mozilla.Browser.1")
GUICreate ( "Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 600 , 360 )
$GUI_Button_Back = GuiCtrlCreateButton ("Back", 10, 420, 100, 30)
$GUI_Button_Forward = GuiCtrlCreateButton ("Forward", 120, 420, 100, 30)
$GUI_Button_Home = GuiCtrlCreateButton ("Home", 230, 420, 100, 30)
$GUI_Button_Stop = GuiCtrlCreateButton ("Stop", 330, 420, 100, 30)
GUISetState()
$oIE.navigate("http://www.autoitscript.com")
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $GUI_Button_Home
$oIE.navigate("http://www.autoitscript.com")
Case $msg = $GUI_Button_Back
$oIE.GoBack
Case $msg = $GUI_Button_Forward
$oIE.GoForward
Case $msg = $GUI_Button_Stop
$oIE.Stop
EndSelect
Wend
GUIDelete ()
Exit
It uses exactly the same API as IE so just read the IE ActiveX descriptions .
The ActiveX control doesnt require the whole Mozilla browser.
And it will also not install it... And its the Mozilla browser, not Firefox .
(get Mozilla here)
And this can help with auto-installing the ActiveX Control:
Hope this helps some people.
Good luck!
I don't know if this should be here, it's more like a tutorial on using that thing , sorry if this is the wrong place.
And the ActiveX control is not my work, so don't ask my things about the ActiveX control itself.
Get the source here.