Browser integration with c# application

P

plmanikandan

Hi,

I need to integrate the browser with my C# windows application.

When I search thru the websites for this,I found SHDocVw.dll is needed
for integrating Web browser into c# application.I did'nt found
SHDocVw.dll in my system.I am using Visual studio .net 2003 and
windows Xp(service pack 2).Anybody provide me some examples regarding
this issues.

Mani
 
S

Steven

Hi,

Go to projetc / Add reference / COM / And choose Microsoft Internet
Controls.
Then add the axWebBrowser1_DocumentComplete function and use in :
mshtml.HTMLDocument htmlDocument =
(mshtml.HTMLDocument)axWebBrowser1.Document;
mshtml.HTMLBody body = (mshtml.HTMLBody)htmlDocument.body;
body.innerHTML = "<HTML>...</HTML>"

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top