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

SHDocVw.WebBrowserClass register to refresh event

is there a way to know when the user perform refresh to the page using the SHDocVw.WebBrowserClass of ie using C#
Chen Kinnrot
  • 20,609
  • 17
  • 79
  • 141
0
votes
2 answers

how to click this javascript button?

In the middle of a webpage I am trying to log into I have the following code
mlapaglia
  • 852
  • 14
  • 31
0
votes
2 answers

Using WatiN, how can I access the head part of the page, specifically the meta tags?

WatIn provides great functionality for programmatic access to the displayed parts of a Web page. I want to access the head part of the page, spedifically the META tags. Watin allows me access to the TITLE, but AFAICT nothing else. There is an…
RichardHowells
  • 7,826
  • 3
  • 24
  • 24
0
votes
1 answer

Can't use "apply" or "call" functions more than once

I'm using the SHDocVw DLL to open and manipulate an Internet Explorer instance from C#. I need to activate the onkeyup event of several textboxes. This is the code I use: dynamic…
Idan Arye
  • 12,402
  • 5
  • 49
  • 68
0
votes
0 answers

SHDocVw for .NET Core projects

I need to move my projects from .Net Framework 4.7.2 to .Net Core platform, and I have difficulties to resolve the problem with code in part of using SHDocVw library. I have such string of code: using SHDocVw; ... var list = new…
Sančiezz
  • 81
  • 2
  • 11
0
votes
1 answer

How to send a cookie in a POST using SHDocVw.InternetExplorer.Navigate?

Problem: In our organization we have a home grown single-sign-on app written in c#/.Net2 that has been working for years. We recently found that the app doesn’t work with Outlook Web Access 2010. A few web searches turned up a couple articles from…
Jim
  • 3
  • 1
  • 3
0
votes
0 answers

What is NewWindow2 and NewWindow3 in WebForm/WebBrowser

I am trying to convert our current WebForms app to use CefSharp browser which uses ChromimumWebBrowser. I came across the below in current code: private void webBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { …
HeXMaN
  • 113
  • 1
  • 11
0
votes
0 answers

SHDocVw works only with Win 10 x64 version

I have the following code written in C# WinForms: ... SHDocVw.WebBrowser_V1 axBrowser = (SHDocVw.WebBrowser_V1)webBrowser1.ActiveXInstance; if (axBrowser != null) { axBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty,…
0
votes
0 answers

SHDocVw InternetExplorer.DocumentComplete not working every time

I am using SHDocVw to start new InternetExplorer instance and inject some code in every page user navigates to: var internetExplorer = new InternetExplorer { Visible =…
akeyo20
  • 23
  • 3
0
votes
1 answer

Does IE need to be installed to use shdocvw.dll?

Since long we are using shdocvw.dll to show web pages in our application. Should using the dll also work when Internet Explorer is not installed and Edge is installed?
0
votes
2 answers

shdocvw in managed C++

I am trying to use shdocvw in a managed C++ program. I have read COM Interop using managed C++ - CodeProject. I used the instructions in How to add references to a managed Visual C++ project to create Interop.shdocvw.dll. I moved the file to my…
Sam Hobbs
  • 3
  • 2
0
votes
1 answer

InternetExplorer being set up as __ComObject instead of SHDocVw.InternetExplorer

I'm having a problem with the InternetExplorer in SHDocVw.dll. I also have mshtml.tlb referenced (while googling, I did read 1 comment that said I should have mshtml.dll referenced, but that this couldn't be done in Microsoft Visual Studio Express,…
user755729
  • 3
  • 1
  • 2
0
votes
1 answer

VB .NET SHDocVw.InternetExplorer: Windows Security popup

Hello I'm using Internet Explorer headless mode to perform automated tasks on my script but I'm encountering an issue when sometimes by surfing on some pages there are authentication popups that show up to log into the page but not through a HTML…
iThomas
  • 15
  • 4
0
votes
1 answer

How to change the top-left icon on a ShDocVW C# window

First of all, I am a real newbie to programming in Visual Studio. That being said, I have created a small program that pops up an Internet Explorer window; I now want to replace the Internet Explorer icon in the top-left corner with the project's…
0
votes
1 answer

Console Application prints when run directly, but not when run by a Service

I have a C# console application that gets an HTML page via an API call and prints the document using SHDocVw.InternetExplorer & ExecWB. When I run the application directly (double click) everything runs as expected. However, when I run the…
Abe
  • 317
  • 4
  • 12