Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 20:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Fehler bei _IEDocReadHtml

Discussion on Fehler bei _IEDocReadHtml within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
elite*gold: 10
Join Date: Aug 2010
Posts: 2,814
Received Thanks: 466
Fehler bei _IEDocReadHtml

Hallo,

Bekomme bei folgendem Code den Fehler
Quote:
--> IE.au3 V2.4-0 Error from function _IELoadWait, $_IEStatus_InvalidDataType
C:\Program Files (x86)\AutoIt3\Include\IE.au3 (2034) : ==> Variable must be of type "Object".:
Return SetError($_IEStatus_Success, 0, $o_object.document.documentElement.outerHTML)
Return SetError($_IEStatus_Success, 0, $o_object.document^ ERROR
Code:
#include <IE.au3>

$ietest = _IECreateEmbedded()

_IEDocWriteHTML ($ietest, '<embed src="http://www.own3d.tv/livestream/2721" type="application/x-shockwave-flash" allowfullscreen="true" width="738" height="415" wmode="transparent"></embed>')

MsgBox (0, "HTML Code", _IEDocReadHTML ($ietest))
Ich hoffe ihr könnt mir helfen

MfG ExChill
ExChill is offline  
Old 10/29/2012, 18:27   #2


 
Cholik's Avatar
 
elite*gold: 4
Join Date: Aug 2008
Posts: 6,783
Received Thanks: 4,992


Quote:
No actions can be performed on this object until it has been embedded into a parent application (e.g. you cannot perform an _IENavigate). Because of this restriction, the browser is not automatically navigated to 'about:blank' as is a browser created with _IECreate. You must therefore use _IENavigate to navigate this browser to 'about:blank' after it has been embedded into the parent application and before you attempt any operations that rely on having a document loaded (e.g. _IEBodyWriteHTML).

There are several properties related to an InternetExplorer object (e.g. returned by _IECreate) that do not apply to this object. These include status text, addressbar and others that may exist for a browser, but do not exist for an embedded control.
Du hast ein embedded Object erstellt was du in keine GUI setzt, du versuchst ins Document Objekt zu schreiben obwohl kein Document Objekt initialisiert wurde.
Cholik is offline  
Thanks
1 User
Old 10/29/2012, 21:56   #3
 
elite*gold: 10
Join Date: Aug 2010
Posts: 2,814
Received Thanks: 466
Eine Gui hab ich natürlich, dachte nur es ist nicht notwendig die auch mit hier reinzuschreiben.
Hat jetzt funktioniert indem ich vor WriteHtml auf "about:blank" gegangen bin.

Vielen Dank für die Hilfe
ExChill is offline  
Old 10/30/2012, 16:48   #4
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
Muss du da nicht noch ein Objekt erstellen mit GuiCtrlCreateObj?

MfG
Achat is offline  
Old 10/30/2012, 22:03   #5
 
elite*gold: 10
Join Date: Aug 2010
Posts: 2,814
Received Thanks: 466
Quote:
Originally Posted by Achat View Post
Muss du da nicht noch ein Objekt erstellen mit GuiCtrlCreateObj?

MfG
Wie gesagt, ich habe es nur nicht mit in den Thread hier geschrieben.
Aber jetzt funktioniert ja alles.
ExChill is offline  
Old 10/31/2012, 08:33   #6


 
Lawliet's Avatar
 
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
#closed
Lawliet is offline  
Closed Thread


Similar Threads Similar Threads
So ein Fehler gibt es nicht, DB alels funzt ingame Fehler -.-
01/19/2012 - Metin2 Private Server - 6 Replies
Hey Com, ich habe alles gestartet (Hamachi Daroo Files). Navicat geht, alles funzt nur folgendes: Wenn ich mich mit falschen Logins einlogge: Dieser Account existiert nicht. Wenn ich richtige Daten eingebe: Fehler beim Verbinden mit dem Server
[Root]Setting.lua fehler aber Fehler nicht zu beheben??
08/09/2011 - Metin2 Private Server - 5 Replies
Richte für jemanden den root ein, aber bei dem fehler bin ich jetzt selber an meine grenzen gekommen. Folgender Fehler kommt beim starten: http://www.fotos-hochladen.net/uploads/unbenan11n tij3uvlnr5d.png Die syserr daneben gehört dazu, die Setting.lua habe ich schon durch getauscht, kommt aber immer noch der Fehler :confused: Datenbank auch schon getauscht, aber was ist dieses:
Infinite Aion: Fehler (1024) Fehler beim initialisieren des Spiels
06/09/2011 - Aion Private Server - 5 Replies
Hi Leute, ich hab ein Probem mit AION: jedesmal wenn ich starte, egal ob mit dem NCSoft Launcher oder mit dem Infinite Aion Launcher kommt die Meldung Fehler beim initialisieren des Spiels... Hab schon alle möglichen Sprachkombinationen durchprobiert, da es überall heißt man soll Region und Sprache beim NCSoft Launcher ändern und dann gehts... Alles probiert, und siehe da: geändert hat sich nichts... Immer noch der Fehler 1024... wäre nett, wenn mir da jemand helfen könnte und auch...
Fehler beim Skype deinstallieren [Fehler 1603]
06/08/2011 - Technical Support - 4 Replies
Überschrift sagt alles. Ich hoffe jmd kann mir helfen,ich kann auch einen Sceenshot machen.
Fehler : java.net.socet.exception:connection reset fehler bitte um hilfe
12/21/2010 - Minecraft - 9 Replies
Hab denn java.net.socet.exception:connection reset fehler immer und immer wieder :( könnt ihr mir dabei vill helfen? :) LG DieVerrückteMango =)



All times are GMT +1. The time now is 20:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.