Questions tagged [shdocvw]

provides the navigation, local caching and history functionalities for the browser.

MSDN

Shdocvw.dll turn hosts the Mshtml.dll component, as well as any other Active Document component (such as a Microsoft Office application) that can be loaded in place in the browser when the user navigates to a specific document type.

Shdocvw.dll supplies the functionality associated with navigation, in-place linking, favorites and history management, and PICS support. This DLL also exposes interfaces to its host to allow it to be hosted separately as an ActiveX control. The Shdocvw.dll component is more frequently referred to as the WebBrowser Control.

Internet Explorer

ShDocVw.dll provides the navigation, local caching and history functionalities for the browser.

Wine

shdocvw.dll provides API to view OLE documents. It is in fact the main DLL of Internet Explorer. Its most common use is WebBrowser control.

WebBrowser control allows an application to embed different documents. It is mostly used for HTML documents. WebBrowser checks the type of the document, creates its instance and views it. Note that HTML rendering has nothing to do with WebBrowser control, but it's done by the document object embedded in WebBrowser.

Further Information Links

MSDN

Wine Wiki

103 questions
0
votes
1 answer

How to get children element of html tag from SHDocVw

I have the below Html code
...
I am trying to use C# SHDocVw to find the div element and get the children out of it. Here is the C#…
ppau2004
  • 193
  • 2
  • 3
  • 16
0
votes
0 answers

How to wait for SHDocVw InternetExplorerClass.DocumentComplete event in a C# unit test?

I have a unit test code that needs to open a page in IE and do something after the document is complete. The page contains redirects and at the end loads Silverlight (we are stuck with it for another year). Here is the code: using System; using…
mark
  • 59,016
  • 79
  • 296
  • 580
0
votes
1 answer

Measuring Webpage Size

We have a WPF application created in .Net Framework 3.5 SP1, used for displaying various Web Application. The WPF application uses a Web Browser control to display the web pages of the various applications. We instrument these web pages to measure…
Krishna
  • 486
  • 8
  • 20
0
votes
1 answer

Calling the ShellWindows FindWindowSW method in C#

I’m writing a small application that will launch Internet Explorer and will open a unknown list or URLs, either as new windows or as new tabs within existing windows (depending on the setting for that particular site). The websites being launched…
bdan
  • 91
  • 1
  • 5
0
votes
0 answers

Open New Window In Current Web Browser Control With Submitted Data

In my Project, i am using a web browser control. I also able to handle new window in same browser control using the help from follow so answer: SO Answer To Open New Window In Same Webbrowser Control But the issue i am facing is, if i submit a form…
Zakir_SZH
  • 466
  • 7
  • 21
0
votes
2 answers

deploying a winform application using clickonce and iis fails

I'm trying to deploy a winform application with IIS and ClickOnce. I can access the publish.htm page and the install even starts when I click on the provided link. However I get this error during the installation process: Downloading…
Bruno Le Duic
  • 261
  • 1
  • 5
  • 14
0
votes
1 answer

Exited event of Process fire with delay

I have this code: Process internetExplorerProcess = Process.Start("iexplore", "-noframemerging about:blank"); internetExplorerProcess.EnableRaisingEvents = true; internetExplorerProcess.Exited += OnInternetExplorerProcessExited; in this case the…
Javi Quirós
  • 49
  • 11
0
votes
2 answers

DWebBrowserEvents2 event OnQuit fired multiple times

We are using an Internet Explorer object (Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null) to open a explorer outside a WPF application. We need to know when the explorer closes so we handle the OnQuit event but we are…
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207
0
votes
0 answers

Access denied when closing folder using SHDocVw

I try to close a folder by its path using SHDocVw. It's not working: Acces deined. I run my program as an administrator. ShellWindows _shellWindows = new SHDocVw.ShellWindows(); string processType; foreach (InternetExplorer ie in _shellWindows) { …
0
votes
1 answer

How to pass a parameter from SHDocVw.InternetExplorer event to C# application

I'm using SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer() At some point I need to trigger an event in my C# application from Internet Explorer. I'm doing that like this: var eventObj = btn.GetType() .GetEvents() …
Alex K
  • 187
  • 1
  • 12
0
votes
0 answers

shdocvw opens browser with two IE tabs using C#

I have a very simple method in my code that I use to open an IE browser, version IE 11. private void btOpenIEOnly_Click(object sender, EventArgs e) { InternetExplorer ie = new InternetExplorer(); …
jhs
  • 3
  • 3
0
votes
0 answers

Mobile equivalent of SHDocvw.dll for Xamarin Development

Is there a mobile equivalent like SHDocvw.dll for exposing the HTML Document Object Model in Xamarin? Yes, I realize you can't use Internet Explorer on an android device, that's why I said 'like'. I've already tried HTMLAgilityPack and have not had…
R Vincent
  • 1
  • 2
0
votes
0 answers

How do I access mshtml.HTMLDocument.frames on multiple threads?

So, I have a main thread that captures an existing IE browser and saves the HTMLDocument in a variable. I attached an event handler to the "onload" event of this document because I need a frame that is located inside it. If I capture the frame in…
Apachi
  • 32
  • 5
0
votes
1 answer

Operation aborted Exception in WIN10 when using SHDocVw Navigate2 for navigatng ie

I have a C# project that open urls in an IE Browser using Interop.SHDocVw. The code is using a single instance of a InternetExplorerClass object and navigates to different urls. These urls are all in the Intranet zone. The code works fine on WIN7…
Yosi Maurer
  • 101
  • 2
  • 6
0
votes
1 answer

HRESULT 0x80040202 when adding an event Handler to ShellWindows

I'm trying to build up a service that runs in background on a bunch of remote computers that will simply monitor how many times IE is used for statistics purposes. Most of my code is written and it works absolutely fine on my development computer,…
GPierre
  • 100
  • 11