PROBLEM: IHTMLDocument2::readyState Property stays at loading when streaming
From: Su Wei (suwei_at_sina_com)
Date: 06/04/04
- Next message: George Ionescu: "Re: IStream trouble..."
- Previous message: Guenther Muranyi: "Re: Adding a Popup Menu to IEs Context Menu?"
- Next in thread: Charles Law: "Re: PROBLEM: IHTMLDocument2::readyState Property stays at loading when streaming"
- Reply: Charles Law: "Re: PROBLEM: IHTMLDocument2::readyState Property stays at loading when streaming"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Jun 2004 19:59:20 +0800
I want to use IHTMLDocument2 to parse .htm file on disk with no ui attached.
I've tried many code including walkall and usenet posted. After loading the
file with either IPersistFile::Load or IPersistStreamInit::Load the
readystate stay at loading and never goes to complete. the dom of
IHTMLDocument always like
"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD></HEAD>
<BODY>
<P> </P></BODY></HTML>
"
I've found early post reporting the same problem:
http://www.google.com/groups?q=ihtmldocument2+readystate+loading&hl=zh-cn&lr=&ie=UTF-8&selm=uzk46daDEHA.1240%40TK2MSFTNGP10.phx.gbl&rnum=6
Is this a bug in ie6? How can I load local file to parse only with
IHTMLDocument2?
- Next message: George Ionescu: "Re: IStream trouble..."
- Previous message: Guenther Muranyi: "Re: Adding a Popup Menu to IEs Context Menu?"
- Next in thread: Charles Law: "Re: PROBLEM: IHTMLDocument2::readyState Property stays at loading when streaming"
- Reply: Charles Law: "Re: PROBLEM: IHTMLDocument2::readyState Property stays at loading when streaming"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|