How to: Access the Managed HTML Document Object Model

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I use, VS2005 C#

I have a Windows Forms UserControl hosted within Internet Explorer

According to MIcrosoft documentation:

http://msdn2.microsoft.com/en-us/library(d=robot)/ms171712.aspx
or
the local MSN (Installed with) VS2005.

....
You can access the HTML DOM representing the page on which your UserControl
is hosted in order to change the document's structure or open modal dialog
boxes, among many other possibilities.


To access DOM from a UserControl hosted in Internet Explorer:

1.Create your own custom derived class of the UserControl class. ....
2.Place the following code inside of your Load event handler for your
UserControl:
<<MISSING>><<MISSING>><<MISSING>><<MISSING>><<MISSING>>

the documentation is missing...!?

Can anyone tell me what to do?

Many Thanks,
Filippo
 
Filippo,

The MSHTML namespace follows completely the HTML Document Object Model.

Be aware that noboby finds it pretty to use

Search yourself on MSDN for that, because you get an enormous amount of
answers.

I hope this helps,

Cor
 
thanks for the replay,
however let me put it in this way.

VS2005 - C# I have developed a Windows form user control.
This control is embeded in a web page.

Which is the best way to access to some fields in the HTML page (<input
name="" type="text"....> from the usercontrol?


Many thanks,
Filippo
 
Back
Top