Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
HOw can I write content to the pages DOM using visual studio 2012
Posted
Updated 1-Jul-14 5:13am
v2
Comments
Sergey Alexandrovich Kryukov 1-Jul-14 11:06am    
Vasily, this is not a service for finding "code to download". If you have a question, we will gladly try to help you.
By the way, decent engineers don't just play with the code found somewhere. This is a forum for software engineers (and students).
—SA
Vasily Tserekh 1-Jul-14 11:17am    
Hello Sergey
I need to make a BHO that writes html content to a DOMs page. I have worked with c++ in the past but I cant spent weeks trying to get all the basics in this content.
best regards
Sergey Alexandrovich Kryukov 1-Jul-14 11:30am    
There is no such thing as "DOM page". The page is HTML, DOM is its data presentation. For example, in the browser, you change DOM with Javascript, and the page rendering is immediately changed (and HTML itself, as text, is never involved after the page is loaded). BHO is just the IE-specific interface (that's why the idea to use it never even came to my mind :-) You can easily find a lot of information on its use.
—SA

I typed "C++ BHO" in the article search and got these:

Writing a BHO in Plain C++[^]

Manipulating Buttons in Internet Explorer's Address Bar[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 1-Jul-14 11:34am    
5ed. I also added just five cents in another solution.
—SA
If Solution 1 is not enough for you, you can find a lot of information: http://bit.ly/1mFp8ni[^].

Sorry, but I am not looking to find out some ready-to-use code sample for you, review and test it, and so on. I tried to explain why in my comments to the question. I can only remind you that the most interested person is you, and there is nothing too difficult for you here.

—SA
 
Share this answer
 
None of the samples above have code to get de document object to write to the DOM.
The only code found on the internet to write to the DOM is found here http://msdn.microsoft.com/en-us/library/bb250489%28v=vs.85%29.aspx[^] but is a step by step tutorial on VS 2005 and it doesnt have a dowloadable sample
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900