R
Robin Tucker
Hiya,
I'm using mshtml and the web browser control to embed an OLE object in my
..NET application.
What I want to do is get a reference to the "object" embedded therein:
The HTML looks something like this:
<html>
<body>
<object classid="clsid:260AACA0-F963-101B-8955-0000C0DCD465"
id="TgControl" width="100%" height="100%" border="1" ></object>
</body>
</html>
I am loading the above HTML with the Browser.Navigate2 command and all is
well. Now, I can fetch the Document Object Model of the web page using:
Dim myDoc As HTMLDocument = New HTMLDocumentClass
myDoc = CType(Browser.Document, HTMLDocument)
But how can I get a reference to the actual embedded item "TgControl" from
the object model?
Any hints greatly appreciated.
Robin
I'm using mshtml and the web browser control to embed an OLE object in my
..NET application.
What I want to do is get a reference to the "object" embedded therein:
The HTML looks something like this:
<html>
<body>
<object classid="clsid:260AACA0-F963-101B-8955-0000C0DCD465"
id="TgControl" width="100%" height="100%" border="1" ></object>
</body>
</html>
I am loading the above HTML with the Browser.Navigate2 command and all is
well. Now, I can fetch the Document Object Model of the web page using:
Dim myDoc As HTMLDocument = New HTMLDocumentClass
myDoc = CType(Browser.Document, HTMLDocument)
But how can I get a reference to the actual embedded item "TgControl" from
the object model?
Any hints greatly appreciated.
Robin