magol
magol

Reputation: 6273

Add button in Internet Explorer from C# application and copy content

I want my C# application to open an Internet Explorer window. So far I have figured out how I'm doing:

using SHDocVw

Type oType = Type.GetTypeFromProgID("InternetExplorer.Application");

if (oType != null)
    return (InternetExplorer)Activator.CreateInstance(oType);

Now I want to remove all unnecessary buttons and menus in Internet Explorer and instead, I want to add a custom button in the toolbar. When the user presses the button, all information on the current page is copied to my C# programs. How do I do that?

Upvotes: 0

Views: 405

Answers (1)

PJ8
PJ8

Reputation: 1278

Have you thought about hosting a web browser control inside your application? You might want to take a look at the WebBrowser class: MSDN

Upvotes: 1

Related Questions