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

Updated TWebBrowser now implements IDocUIHandler from the start, how can I keep using my custom implementation?

Beginning with Delphi 10.0 Seattle, Embarcadero has changed the implementation of the TWebBrowser control: Pre-Seattle: TWebBrowser = class(TOleControl) Seattle+: TWebBrowser = class(TOleControl, IDocHostUIHandler, IDocHostShowUI,…
nelshh
  • 1,021
  • 1
  • 11
  • 15
3
votes
0 answers

Capturing the NewWindow3 Event of the shdocvw.InternetExplorer

I want to automate the Internet Explorer using C#. Thus I've written simple Console Application, that creates a new instance of InternetExplorer and then registers on some events. Following Events work fine: OnQuit, BeforeNavigate2 and…
pyBlob
  • 41
  • 6
3
votes
0 answers

Document Complete Event Is not Raising in Internet explorer 11

Got one very weird scenario on Internet explorer 11. I have written one C# automated program for Internet explorer which was working fine till IE 10, now suddenly from IE 11, document complete stopped to raise more them 8 out of 10 times. Just take…
Sanket Shah
  • 461
  • 2
  • 7
  • 17
3
votes
8 answers

VBA Internet Explorer Automation 'Permission Denied'

Dim IE as New InternetExplorer IE.Visible = True IE.Navigate("http://www.google.com") Do Until IE.Busy = False Loop IE.document.getElementsByTagName("Input")(3).Value = "Search Term" IE.document.Forms(0).Submit <------ This line results in…
2
votes
1 answer

Using an IE browser with Visual Basic

Struggling to find a solution to this one. From Visual Basic (VBA in Excel more specifically) I'm able to call an Internet Explorer window by title using AppActivate ("My Page Title - Windows Internet Explorer") And it works great each time. I can…
paj
  • 59
  • 2
  • 3
  • 8
2
votes
1 answer

close pop-up window using shdocvw?

I used to close pop-up windows in VBA using the following code: Dim k As New shdocvw.ShellWindows ' close menu window Dim c As WebBrowser For Each c In k If c.LocationURL = "http://specificsite.com/x.html" Then c.Quit() …
Paulo Bueno
  • 2,499
  • 6
  • 42
  • 68
2
votes
1 answer

SHDocVw.InternetExplorer In shellWindows returning too many objects

The following line of code return several InternetExplorer objects even though I have only one browser window open (no tabs) and only one iexplore.exe process running. How do I only get the open browser window object? For Each ie As…
mp42871
  • 191
  • 1
  • 5
  • 16
2
votes
1 answer

Interop.SHDocVw Navigate2() method displays unwanted download box

I am writing some regression tests in WatiN and needed to make a couple POST web requests. The requests are working fine but I get an annoying dialog box asking me if I want to save the file or find a program online to open it. The line of code that…
Alan
  • 281
  • 2
  • 9
2
votes
2 answers

System.InvalidCastException: Specified cast is not valid

Automation using WatiN is being carried out. Using couple of simultaneous threads to test the application. Few threads are failed and log report/stack trace says the following. System.InvalidCastException: Specified cast is not valid. at…
GTK
  • 21
  • 2
2
votes
0 answers

cast from SHDocVw.InternetExplorer to process

Is it posible to cast from SHDocVw.InternetExplorer to process object? i tried to cast like this but it didnt work: Process p = (SHDocVw.InternetExplorer)IE
Y.D
  • 95
  • 8
2
votes
4 answers

WebBrowser control executing from service issue

Ok, so here's the deal -- I'm running a Windows Forms WebBrowser control from a service. I know thats a no-no, but it seems to work alright. The only thing I'm running into a problem with is trying to wait for the browser's pages to load. In a…
Joshua Evensen
  • 1,544
  • 1
  • 15
  • 33
2
votes
0 answers

Why SHDocVw.InternetExplorer instance Count in ShellWindows are different?

Currently there are no iexplorer process. When I make two InternetExplorer instances, the ShellWindows gives me only one HWND. This is my code. for (int i = 0; i < 2; i++) { InternetExplorer ie = new InternetExplorer(); …
HOON
  • 21
  • 5
2
votes
0 answers

Connect to an existing Internet explorer window and reuse it using C#

I'm working on a legacy software that, among other, have a button that opens a new internet explorer windows and navigate to a specific address within it. The browser controller would hold the reference to the window so that if the button is pressed…
Koby Yehezkel
  • 208
  • 4
  • 11
2
votes
1 answer

Using chrome instead of SHDocVw.InternetExplorer

In my VB6 application i am using SHDocVw.InternetExplorer and navigate websites, fill texbox , submit etc. Dim iE As New SHDocVw.InternetExplorer iE.Navigate "www.google.com" iE.Visible = True So how can I do the same using chrome as a instance. I…
IT researcher
  • 3,274
  • 17
  • 79
  • 143
2
votes
2 answers

How do I get SHDocVw.InternetExplorer to reuse the same window in Vista like it does in XP?

I am working on a program that uses IE to display its help pages. I am using C# in Visual Studio 2008 compiling to .Net Framework 2.0 In Windows XP everything works as expected. In Vista every time I click on a help button I get a new window with a…
Jack
  • 186
  • 1
  • 11