Data delivery to ActiveX controls hosted by Internet Explorer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Through some experimentation I have found that, at least where full-page controls are concerned, Internet Explorer calls IPersistPropertyBag2::Load to inform the control of the URI for the data via a "src" property. But is there some mechanism by which the container simply delivers the data to the control as a stream? Or is the control entirely responsible for fetching the data using the URI?

I would have thought that, by the time the control is instantiated, the browser would already have a stream for the data (that it could presumably hand off to a successfully-instantiated control).

Braden
.



Relevant Pages

  • Re: web browser ctrl - retrieve address for display in textbox?
    ... If you want the string representation of the Uri, ... ToString method on the uri. ... control and then look at the Url property on the HtmlDocument instance ... this.axWebBrowser1.Navigate2(ref loc, ref null_obj, ref null_obj, ref ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: web browser ctrl - retrieve address for display in textbox?
    ... exception is occuring, it's very difficult to figure out what the error is. ... Uri url = webBrowser.Document.Url; ... control and then look at the Url property on the HtmlDocument instance ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Data delivery to ActiveX controls hosted by Internet Explorer
    ... IPersistPropertyBag2::Load to inform the control of the URI for the ... data via a "src" property. ... the control entirely responsible for fetching the data using the URI? ... Many controls would want to download their data asynchronously, ...
    (microsoft.public.win32.programmer.ole)
  • Control loaded in IE problem
    ... I'm loading a control in IE. ... If the control is loaded from the server ... to get the URI from within the control. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • IObjectSafety and Internet Explorer
    ... Problems with ActiveX in Internet Explorer are nothing new. ... How Internet Explorer Determines If ActiveX Controls Are Safe ... Provide the following registry keys for the control's CLSID under the ... The following key marks the control safe for scripting: ...
    (Bugtraq)