Jump to content

Error with FireFox embedded


xzaz
 Share

Recommended Posts

;---------------------------
; Laungher
;
;---------------------------
#include <GUIConstants.au3>
$oIE = ObjCreate("Mozilla.Browser.2")
; or $oIE = ObjCreate("Mozilla.Browser.1") doesn't mather.

$winw = 1024
$winh = 768
$Main_App = GUICreate('Label Application',$winw,$winh,0,0)
GUICtrlCreateObj($oIE, 5, 100, $winw-10, $winh-120)
GUISetState (@SW_SHOW)

$oIE.navigate("http://www.google.nl")
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
Exit

- I installed the component

- It has worked before

- I didn't chanced anything.

The error:

C:\Users\Eise\Documents\Net-softv0.1\laungher.au3 (28) : ==> Variable must be of type "Object".: 
$oIE.navigate("http://www.google.nl") 
$oIE^ ERROR

Don't got any clue.

Edited by xzaz
Link to comment
Share on other sites

Please note, the control you reference is not "FireFox embedded". It is a project that appears to have died over two years ago that produced an ActiveX control using the Gecko layout engine with an emulation of IE4 for Netscape/Mozilla.

For more information see:

Mozilla ActiveX Project: http://www.iol.ie/~locka/mozilla/mozilla.htm

FAQ: http://www.iol.ie/~locka/mozilla/faq.htm

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Please note, the control you reference is not "FireFox embedded". It is a project that appears to have died over two years ago that produced an ActiveX control using the Gecko layout engine with an emulation of IE4 for Netscape/Mozilla.

For more information see:

Mozilla ActiveX Project: http://www.iol.ie/~locka/mozilla/mozilla.htm

FAQ: http://www.iol.ie/~locka/mozilla/faq.htm

Dale

Yep true, but i has worked before, so maby i missed something. Anyway i am forced to use IE (blegh @ W3C rules) embedded can't find any other firefox embedded components.

I try to fix this: http://www.autoitscript.com/forum/index.ph...mp;#entry477474

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...