473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

How to: Access the Managed HTML Document Object Model


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 #1
2 1881
Hello Filippo,

http://msdn2.microsoft.com/en-us/lib...12(VS.80).aspx

FB> I have a Windows Forms UserControl hosted within Internet Explorer
FB>
FB> According to MIcrosoft documentation:
FB>
FB> http://msdn2.microsoft.com/en-us/lib.../ms171712.aspx
FB> or
FB> the local MSN (Installed with) VS2005.
FB> ...
FB> You can access the HTML DOM representing the page on which your
FB> UserControl
FB> is hosted in order to change the document's structure or open modal
FB> dialog
FB> boxes, among many other possibilities.
FB> To access DOM from a UserControl hosted in Internet Explorer:
FB>
FB> 1.Create your own custom derived class of the UserControl class.
FB> ....
FB> 2.Place the following code inside of your Load event handler for
FB> your
FB> UserControl:
FB> <<MISSING>><<MISSING>><<MISSING>><<MISSING>><<MISS ING>>
FB> the documentation is missing...!?
FB>
FB> Can anyone tell me what to do?
FB>
FB> Many Thanks,
FB> Filippo
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Mar 10 '06 #2

Michael,

if you notice even on your page the documentation is not there:

"2. Place the following code inside of your Load event handler for your
UserControl:"

and then they do not put the code!!!!!!!!!!!!!!!!!!!

Filippo


"Michael Nemtsev" wrote:
Hello Filippo,

http://msdn2.microsoft.com/en-us/lib...12(VS.80).aspx

FB> I have a Windows Forms UserControl hosted within Internet Explorer
FB>
FB> According to MIcrosoft documentation:
FB>
FB> http://msdn2.microsoft.com/en-us/lib.../ms171712.aspx
FB> or
FB> the local MSN (Installed with) VS2005.
FB> ...
FB> You can access the HTML DOM representing the page on which your
FB> UserControl
FB> is hosted in order to change the document's structure or open modal
FB> dialog
FB> boxes, among many other possibilities.
FB> To access DOM from a UserControl hosted in Internet Explorer:
FB>
FB> 1.Create your own custom derived class of the UserControl class.
FB> ....
FB> 2.Place the following code inside of your Load event handler for
FB> your
FB> UserControl:
FB> <<MISSING>><<MISSING>><<MISSING>><<MISSING>><<MISS ING>>
FB> the documentation is missing...!?
FB>
FB> Can anyone tell me what to do?
FB>
FB> Many Thanks,
FB> Filippo
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Mar 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jon Davis | last post by:
I recently learned how to do an <OBJECT> alternative to <IFRAME> in current browsers using: <object id="extendedhtml" type="text/html" data="otherpage.html" width="250" height="400"></object> ...
2
by: Jinsong Liu | last post by:
Hello Group: Sorry for double post. I posted this question on the XML group. Then realized this is the group where the question should be posted, since I am using .NET. I have an object model...
6
by: _BNC | last post by:
Here's the breakdown: I have an old C DLL that I want to access via C#. I'm doing this via an outer DLL that wraps the old C DLL in an unmanaged C++ class, which is in turn wrapped in a...
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all...
2
by: Filippo Bettinaglio | last post by:
Hi, I use, VS2005 C# I have a Windows Forms UserControl hosted within Internet Explorer According to MIcrosoft documentation: ...
0
by: Jarod_24 | last post by:
I've tried the WebBrowser in the System.Windows.Forms namespace, but it dosen't work when you instanciate an object from a class. It needs a Form to live in to work. My application allready has...
2
by: Marcus Kwok | last post by:
I have processing code (I'll call it the "model") written in native unmanaged pure C++, and I have put a GUI on top of it written using Windows Forms (.NET 1.1). The GUI is used to set the...
3
by: cweeks | last post by:
I am using the Webbrowser control in VS 2005 C# Express to automate the navigation of pages on a partner's web site. The first page contains an <IFRAME> element: <iframe style='width:40;...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.