Re: Band Objects

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 10/27/04


Date: Wed, 27 Oct 2004 14:51:01 -0400


"Sathish" <Sathish@discussions.microsoft.com> wrote in message
news:8575375D-5844-4883-BA60-A5C5E8D0C17B@microsoft.com
> I am developing an Windows Forms application using C# that hosts the
> 'AxWebBrowser' control. On that form, I want to display the Search,
> Favorites etc. bars.
>
> I searched MSDN and this group and found that I have to use
> 'IWebBrowser2::ShowBrowserBar' to do that. I tried using that but I
> could not make it work. Is it that I have to implement interfaces
> like IObjectWithSite to make it work?

WebBrowser control does not support browser extensions. Only stand-alone
Internet Explorer does. If you want to support them too, you'll have to
implement the infrastructure yourself. See this:

http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/programmersguide/shell_adv/bands.asp

This documentation is for the creators of explorer bands. You will have
to read it from the other side - see what services these extensions
expect from the host, and implement them in your application.

-- 
With best wishes,
    Igor Tandetnik
"On two occasions, I have been asked [by members of Parliament], 'Pray, 
Mr. Babbage, if you put into the machine wrong figures, will the right 
answers come out?' I am not able to rightly apprehend the kind of 
confusion of ideas that could provoke such a question." -- Charles 
Babbage 


Relevant Pages

  • 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)
  • Still cant access Microsoft Office On-line
    ... restore points, ... used by Internet Explorer", the "Microsoft Office Template & Media Control ... Office Template & Media Control is NO LONGER listed at all. ...
    (microsoft.public.publisher)
  • Re: "An invalid server name was specified"
    ... Client Control ActiveX control is enabled in the IE. ... If you are using Windows Internet Explorer 7, ... Disable Add-ons. ... Client Control ActiveX control or for the Microsoft RDP client Control ...
    (microsoft.public.windows.server.sbs)
  • Re: Why cant I access two secure web sites and what can I do???
    ... > every file names HOSTS using search and opened all of them. ... (Support Home Page, Internet Explorer (Solution Center) ... I am NOT on a network. ... >> Frank Saunders, MS-MVP, IE/OE ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: trouble opening training
    ... First of all, clear your cache, in Internet Explorer, tools, Internet Options, delete ... The Microsoft Office Template and Media Control may have been disabled. ... Select Microsoft Office Template and Media Control in the list of controls. ... Adding a Web site as a trusted site can have security implications. ...
    (microsoft.public.office.misc)