Jump to content
Sign in to follow this  
ozmike

_IEDocWriteHTML, _IEBodyWriteHTML , _IEDocInsertText hangs

Recommended Posts

Hi 

 

Wondering if anyone is having this problem _IEDocWriteHTML never completes web page (see example)  does display but never reaches the  console write. Also the help example for _IEDocWriteHTML & _IEBodyWriteHTML , _IEDocInsertText

displays the page never exits. _IEDocInsertText the help example 3 works fine and will exit after removing the loop _IEDocInsertText help example 1 hangs. The help example for _IEDocInsertHTML works . The help examples that work refer to an external web site (www.autoit,com) dynamically made pages no longer work with these write methods..is this a ie new security tightening issue..?

 I'm using ie11, Is this to do with latest IE updates..? So what do we do if we need to make a dynamic HTML page.

#include <IE.au3>

Local $oIE = _IECreate()
Local $sHTML = ""
$sHTML = "<html>  " & _
                 " <body>" & _
         "Hello World" & _
                 " </body></html>"
_IEDocWriteHTML($oIE, $sHTML)
ConsoleWrite( @CR & "--- NEVER GETS HERE  " & @CR )

Share this post


Link to post
Share on other sites

Might be something to do with that last IE update, check wu history and remove it.

I see you already mentioned that.

Sorry, having a gaga day.

Edited by JohnOne

Share this post


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
Sign in to follow this  

×
×
  • Create New...