Advertisement

11.19.2008 at 04:48PM PST, ID: 23920150
[x]
Attachment Details

showing and managing websites in c#

[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0
I want to do 4 things with an external website:
-load it into webbrowser
-get inner text of some tags (located by class parameter)
-add java script code to the source of loaded website
-execute that script

I'm using Windows Forms and C#. I started with using WebBrowser, however i coudn't add any code to the source of it. I found that i should use IHTMLDocument2 for that, so I changed WebBrowser to AxSHDocVw.AxWebBrowser (which is COM version of the same thing). Now i can load page, but i have no idea how to get inner text of some tags (how to find tags in general) and how to execute a script (either by firing a "on click" event, or executing the script by name). Is there a way to do that without using pointer, with C#? Or perhaps is there any other way for doing what I need (using WebBrowser, this COM object or whatever)? I only need some example of how to do those things and i'll do the rest.
Answered By: Deadeyye
Expert Since: 08/17/2008
Accepted Solutions: 2
Computer Expertise: Advanced
Deadeyye has been an Expert for 4 months, during which he has posted 2 comments and answered 2 questions. Deadeyye is just one of 2341 experts in the C# Programming Language Zone. 1 expert collaborated on this answer, which was graded an "A" by the asker.
 
 
20081119-EE-VQP-47 - Hierarchy / EE_QW_2_20070628