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
16
votes
1 answer

using Interop.SHDocVw.dll Where can i find this namespace/dll at?

I've done this before, I don't remember if i downloaded the DLL from off the net or something but i don't want to get a virus. I need access to this namespace so that I can have extra features that the Webbrowswer control doesn't offer. How do I…
Proximo
  • 6,235
  • 11
  • 49
  • 67
6
votes
2 answers

Any workaround to get text in an iFrame on another domain in a WebBrowser?

You will probably first think is not possible because of XSS restrictions. But I'm trying to access this content from an application that hosts a WebBrowser, not from javascript code in a site. I understand is not possible and should not be…
Ahmet
  • 4,310
  • 4
  • 19
  • 21
6
votes
2 answers

How can I maximize an IE window created by VBA with SHDocVw.InternetExplorer command?

As the title says, I'm trying to maximize an internet explorer window that was created using the following command: Set ie = New SHDocVw.InternetExplorer Instead of: Set ie = CreateObject("InternetExplorer.Application") Here's the full code: Sub…
dot.Py
  • 5,007
  • 5
  • 31
  • 52
6
votes
1 answer

Find out the launch points of active IE instances of windows

We have an application that runs as service on windows. The service periodically checks for active Internet Explorer instances using SHDocVw.ShellWindows(). With this, we are able to capture the URL in each of the IE instances. My Question: Is it…
indusBull
  • 1,834
  • 5
  • 27
  • 39
5
votes
2 answers

Active tab ignored by InternetExplorer COM object for IE 8

This is web single sign on code that runs on a .net 3.5 winform. The code runs fine for ie6 or ie8 as long as ie8 only has one tab open. The problem is that if the user opens a new tab (tab 2,3,etc.) and navigates to a web site (web form internal…
JimSTAT
  • 735
  • 1
  • 8
  • 27
5
votes
1 answer

Access elements inside html tag source html using VB.Net

I’m using SHDocVw.InternetExplorer APIs in my Vb.Net WinForms application to fetch elements from Internet Explorer. I can easily access the elements inside parent document and frame elements but I am not able to access the elements inside the…
prem
  • 3,348
  • 1
  • 25
  • 57
5
votes
0 answers

What's the difference between SHDocVw.InternetExplorerMedium and SHDocVw.InternetExplorer?

Some answers seem to suggest that I should use SHDocVw.InternetExplorerMedium for internet explorer automation. What's the difference between internetexplorer medium and internet explorer? I tried to run this code and I got object disconnect…
user4951
  • 32,206
  • 53
  • 172
  • 282
4
votes
1 answer

IWebBrowserApp.Navigate() How to send Post Data

I would be very glad if someone could show me a good example of how to send POST data with the Navigate Method, available through SHDocVw.IWebBrowserApp. Considering for example. That the page were we should go is: http://example.com/check.php And…
Fábio Antunes
  • 16,984
  • 18
  • 75
  • 96
4
votes
4 answers

How do I open maximized internet explorer?

I have to open maximized internet explorer using C#. I have tried the following: try { var IE = new SHDocVw.InternetExplorer(); object URL = "http://localhost/client.html"; IE.ToolBar = 0; IE.StatusBar = true; IE.MenuBar =…
Balu
  • 137
  • 2
  • 11
4
votes
1 answer

Need a way to distinguish between ShDocVw.InternetExplorer tab objects

I'm using ShDocVw interop assembly to get to InternetExplorer objects. foreach(InternetExplorer IE in new ShellWindowsClass()) { Console.Log(IE.HWND.ToString() + Environment.NewLine); } The result is - all the tabs of same window report HWND…
poncha
  • 7,726
  • 2
  • 34
  • 38
3
votes
4 answers

Identify all open System/Special Folders

I am currently using the following to Get Path in a ListBox of all Open Explorer Windows: foreach (SHDocVw.InternetExplorer j in new SHDocVw.ShellWindows()) { if (j.Name == "Windows Explorer") { ListView1.Items.Add(j.LocationURL); …
Elmo
  • 6,409
  • 16
  • 72
  • 140
3
votes
1 answer

Get around running visual studio as administrator in Windows 7 to interact with Internet Explorer

I'm using SHDocVw.InternetExplorerClass to scrape a webpage. It works fine in XP, but when I try to run it in windows 7 I get an error: The interface is unknown. (Exception from HRESULT: 0x800706B5) When I run visual studio in administrator mode it…
AndyD273
  • 7,177
  • 12
  • 54
  • 92
3
votes
1 answer

IE "per browser" explorer bar

Is there a way to create a "per-browser" explorer bar in IE, that means an explorer bar common for all open tabs? The explorer bars created following MS guidelines are "per-tab", meaning that a new explorer bar is opened on each new tab.…
Moshe
  • 555
  • 3
  • 14
3
votes
2 answers

The referenced component 'SHDocVw' could not be found

Compiling a solution on a new "build" server is throwing The referenced component 'SHDocVw' could not be found. Solution builds fine on other build servers and on developers machines. I could swear it built fine two days ago. One noticeable…
JosephS
  • 744
  • 5
  • 22
3
votes
1 answer

COMException: The object invoked has disconnected from its clients

I have a program written in C# that creates a Word doc by collating a bunch of text (extracted from objects). This application has worked fine for the past 4 years on many different machines, but right now it is breaking for one new client with the…
Mossi
  • 997
  • 5
  • 15
  • 28
1
2 3 4 5 6 7