showing and managing websites in c#

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.
LVL 1
DeadeyyeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

experteezCommented:
0
DeadeyyeAuthor Commented:
Exoerteez - i've already made this, i was asking about how to get tags and script with this interface. Anyway, I found that you can simply use WebBrowser control to acces and modify your source code of www, so it fits me perfectly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.