Jump to content

_iecreateembedded problem


Blasium
 Share

Recommended Posts

Hey all together.

This is the important part of my script, which doesnt works:

$ie = _IECreateEmbedded()
$gui = GUICreate("q-multi-manager", 800, 600)
Global $dx = GUICtrlCreateObj($ie, 5, 5, 590 + 200, 590)

GUISetState()

MsgBox(0,"","start")
_IENavigate($ie, "http://q-load.me")
MsgBox(0,"",@error)

My problem is, that this just displays a blanc site (so the @error-msgbox doesnt even appear), and after about 15 minutes i get the error code :

Line 1110 (File:[skript])

Error: Variable must be of type "Object".

But thats not the difficult part:

This only appears to me (1), before 4 days it worked without problems (2) and there are no errors on other websites (3), like f.e. google.

Of course, i already disabled the firewall (4).

The only thing i did, when this problem started,

was making a download from this website using InetGet,

but i cant imagine, how this problem occured.

So, my question, how the hell is this even possible ?

How can i solve this ?

How could this appear ?

Requesting any available tips,

Blasium

Link to comment
Share on other sites

As you pointed out, your posted code works fine with any valid URL (i.e. Google or AutoItScript.com), so the problem is with whatever "q-load.me" is. When it's failing, does the page load in IE if you simply do _IECreate("http://q-load.me") without any of the embedded cuteness?

;)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

In addition to the above, in the msgbox never appears I's suggest that the page never finishes loading... the _IELoadWait called by _IENavigate actually times out in 5 minutes - but you should get a timeout error from IE.au3, not the message you mention.

As PsaltyDS points out however, your focus of investigation should be on the specific web site.

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

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...