By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,650 Members | 1,785 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,650 IT Pros & Developers. It's quick & easy.

How to: Access the Managed HTML Document Object Model

P: n/a

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/lib.../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>><<MISS ING>>

the documentation is missing...!?

Can anyone tell me what to do?

Many Thanks,
Filippo

Mar 9 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

"Filippo Bettinaglio" <Fi****************@discussions.microsoft.com> schreef
in bericht news:04**********************************@microsof t.com...

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/lib.../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>><<MISS ING>>

the documentation is missing...!?

Can anyone tell me what to do?

Many Thanks,
Filippo

Mar 10 '06 #2

P: n/a

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

"Cor Ligthert [MVP]" wrote:
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

"Filippo Bettinaglio" <Fi****************@discussions.microsoft.com> schreef
in bericht news:04**********************************@microsof t.com...

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/lib.../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>><<MISS ING>>

the documentation is missing...!?

Can anyone tell me what to do?

Many Thanks,
Filippo


Mar 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.