all groups > vj# > may 2005 >
You're in the

vj#

group:

IHTMLDocument2


IHTMLDocument2 teddy
5/3/2005 7:37:03 AM
vj#:
Hi,
I have an applet who is using mshtml to access an html page.
I want to transform all the code using this api to code who is standard java
(sun).
Do you know an html page, a tutorial, to do this ?
Re: IHTMLDocument2 George Birbilis [MVP J#] [9880]
5/4/2005 12:00:00 AM
[quoted text, click to view]

I don't think you can't access the page's HTML DOM from a Java Applet


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com>
Microsoft Most Valuable Professional
MVP J# for 2004, 2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime (Delphi & ActiveX: VB, PowerPoint, .NET)
+ Plugs (InterProcess/Internet communication)
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
.........................................................................

Re: IHTMLDocument2 gopikrishnam NO[at]SPAM gmail.com
5/9/2005 4:36:31 AM
You could access page's HTML DOM using netscape.javascript.* APIs.
For example,

JSObject win = JSObject.getWindow(this);
JSObject doc = win.getMember("document");
Here doc represents IHTMLDocment2.

Thanks,
Gopi[MSFT]
AddThis Social Bookmark Button