Jump to content

_IECreateEmbedded problem

Recommended Posts


tried to embed a site in my gui but Im having a problem with javascript error..

some page works fine but some page keeps on loading forever although its fine when opening on normal browser...

also is there a way to embed firefox instead of ie...

found some links here, tried to follow but can't make it work.

please help..


Sorry for being noob but... thanks to you im learned something new.
Link to post
Share on other sites
  • Moderators

Speaking solely to the javascript error, can you please post the code you're using to embed the site so we can take a look?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites

#include <GUIConstantsEx.au3>

#include <WindowsConstants.au3>

#include <IE.au3>


Local $oIE = _IECreateEmbedded()


Func Example()

Local $mylist, $msg,$link,$add

GUICreate("My GUI",800,500)

GUICtrlCreateObj($oIE, 240, 20, 540,440)


$mylist = GUICtrlCreateList("adf.ly/9wnni", 20, 20, 200, 400)

$link= GUICtrlCreateInput("animepeek.blogspot.com",20,420,200,20)

$add = GUICtrlCreateButton("Add to list", 20, 440, 200, 20);any url

$start = GUICtrlCreateButton("Play List", 240, 460, 200, 20); open url on list to ie embed window


$msg = 0

While $msg <> $GUI_EVENT_CLOSE

$msg = GUIGetMsg()


Case $msg = $add


if $read="" then MsgBox(0,"Error","Please enter a link")

GUICtrlSetData($mylist, $read & "|")

Case $msg = $start


_IENavigate($oIE, $read)




for some reason the javascript error is gone but you can see that when i visit a link with adfly it will stop working, at least i know its not working since the timer is stuck to "1 second", same thing happened when i visit similar sites like that.

Edited by Xtian
Sorry for being noob but... thanks to you im learned something new.
Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...