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
4 answers

IE.Visible = false; But it actually shows ? c#

I am trying to navigate ie invisibly, tried this SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer(); IE.Visible = false; IE.Navigate("http://example.org"); Works, however, it actually shows the IE window. What is the best approach to hide…
user198989
  • 4,574
  • 19
  • 66
  • 95
0
votes
1 answer

How to convert IHTMLImgElement to image

I am automating Internet Explorer using SHDocVW.dll and MSHTML with C#, and I wish to save an image from the page to the disk (JPEG format). I can't use the WebClient class to download the image; if I do it, I end up downloading the site's login…
0
votes
1 answer

SendMessage not working with InternetExplorer object

I am trying to simulate mouse left click for InternetExplorer object, even when the IE object is a background window. The system function I am using is SendMessage. Below is relevant code. [DllImport("user32.dll", CharSet = CharSet.Auto,…
JBT
  • 8,498
  • 18
  • 65
  • 104
0
votes
1 answer

VB6: Automation error The remote procedure call failed

In my VB6 application sometimes in some customer PC we get error like Automation error The remote procedure call failed. The error comes for the code shown below Dim WithEvents Web_popup As SHDocVw.InternetExplorer Set Web_popup = Nothing …
IT researcher
  • 3,274
  • 17
  • 79
  • 143
0
votes
1 answer

Reading material on hosting MSHTML.DLL directly (not WebBrowser)?

Can anyone suggest good reading material on hosting MSHTML.DLL/Trident directly (not SHDOCVW.DLL/WebBrowser)? I want to use it for GUI elements, sometimes major ones, in C++. I need HTML rendering, JavaScript with extra host-provided DOM methods and…
crackers
  • 153
  • 1
  • 3
  • 8
0
votes
1 answer

Error while using SHDocVw.InternetExplorer in C#2.0

all, I have code in C# 2.0 like this: SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindowsClass(); foreach (SHDocVw.InternetExplorer ie in shellWindows) { //......... } It is console exe for a 64bit Windows Server 2008 R2 Standard…
user518138
  • 251
  • 5
  • 14
0
votes
1 answer

WebBrowser.Document property getter throws UnauthorizedAccessException

We have a Windows Forms app that hosts a web application from http://localhost (on a port selected at runtime) in a WebBrowser control which mostly works fine. Within the webapp there is a 'help' link that pops up a new window, and we handle this by…
redcalx
  • 8,177
  • 4
  • 56
  • 105
0
votes
1 answer

Bulk Print HTML Issues Spooling Files

I'm trying to bulk print HTML reports to my default printer which is PDF Creator setup for auto saving. I have the HTML files loading up through Internet Explorer and from there I shall print without user prompt. The problem I'm having is that when…
bikerben
  • 463
  • 5
  • 11
  • 18
0
votes
1 answer

Get Internet Explorer stream with SHDocVw DLL

I use this code to open a web site: private void OpenBrowser(string url) { object sender; WebBrowserDocumentCompletedEventArgs e; ie.DocumentComplete += (DWebBrowserEvents2_DocumentCompleteEventHandler) new…
0
votes
2 answers

SHDocVw InternetExplorer printing Serverside failing -- COM exception

Am trying to print a file from server side via a WCF service deployed on IIS machine. The following code gets worked on Win 2oo3 machine perfectly. But the same code is throwing a COM exception. Any idea about this. I guess its related to some…
Pavan N
  • 255
  • 2
  • 6
  • 21
0
votes
1 answer

MSXML2.XMLHTTP not working

I don't know what's going on behind the scenes with these objects, but I use them all the time with great success. dim ie As New SHDocVw.InternetExplorer ie.navigate url Set oDoc = ie.Document iT = oDoc.body.innerText AND dim oX As New…
shockley
  • 11
  • 1
  • 2
0
votes
1 answer

How do I take a dependency on a COM object without an interop assembly?

When I add a reference (Common properties, framework and references, add new reference) to Microsoft internet controls/SHDocVw.dll and compile the project, a new file is created in the release folder of the project. The file…
HalfEvil
  • 113
  • 2
  • 10
-2
votes
3 answers

IE Automation Book or Resource?? using MSHTML/ShDocVw VB.Net

Can anyone recommend a book or a website that explains Internet Explorer Automation using VB.NET? I understand that mshtml and ShDocVw.dll can do this, but I need a resource that will explain it to me. I want to read/write values as well as click…
unknown (yahoo)
1 2 3 4 5 6
7