|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Browser integration with c# applicationHi,
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 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. Check the web link below for a good example.
http://www.c-sharpcorner.com/Internet/WebBrowserInCSMDB.asp
Other interesting topics
Effective strategy for using VSS in a development team?
Getting Event of Lock Windows OS Why won't you give me your scrollbars?! I hate you, TreeView! Application Idle - Good or bad practice? How to: Access the Managed HTML Document Object Model Getting text box value on key press? C++ class in DLL to be imported to C# How select from 2 ADO.NET DataTables? Visual C# FileIO and Environment Permission PP: Identifying list of unwanted USINGs |
|||||||||||||||||||||||