Installing a toolbar when a browser is open -- SetSite fails, why?

From: Maka Sili (makasili_at_hotmail.com)
Date: 06/27/04

  • Next message: Al: "Help killing popus with OnNewWindow2 event"
    Date: Sun, 27 Jun 2004 17:59:35 -0400
    
    

    Hi,

    At installation, the installer checks if a browser is open.. if so closes
    it,
    then proceeds to install the toolbar. After successful installation,
    I launch IE but though it shows the new toolbar as "checked" in
    View|Toolbars, it is not shown nor visible on the browser. It's not
    obscured even. You must un-check, then re-check before the toolbar
    shows up.

    I debugged and found out that the first call to SetSite received an
    IUnknown interface that doesn't have a parent window and so
    the toolbar is not created.

    Question is: Why would SetSite fail in this case? What are the
    instances that SetSite may fail? What should I do in order to
    avoid this.

    Thanks for any insight.

    Neil


  • Next message: Al: "Help killing popus with OnNewWindow2 event"

    Relevant Pages

    • Re: Using Indent Button on Toolbar crashes Word 97
      ... > We've tried deleting and recreating the toolbar buttons, ... > deleting and recreating the Normal.dot, ... > installation, ...
      (microsoft.public.word.application.errors)
    • Re: Reparatur des IE 6
      ... Frage: Brauche ich Java? ... >>> Trat das Problem von Anfang an auf, oder erst nach der Installation, ... Das Oertliche Toolbar ... Next by Date: ...
      (microsoft.public.de.german.inetexplorer.ie6)
    • Re: Cant Change Commandbars("Worksheet Menu Bar")
      ... The .xlb file has all Toolbar customization in it. ... Close Excel ... my XL2000 installation stopped allowing programmatic changes to> the Worksheet Menu Bar. ...
      (microsoft.public.excel.programming)
    • Installing a toolbar when a browser is open - SetSite fails, why?
      ... At installation, the installer checks if a browser is open.. ... then proceeds to install the toolbar. ... Why would SetSite fail in this case? ...
      (microsoft.public.win32.programmer.ui)
    • Installing a Toolbar when a browser is open
      ... At installation, the installer checks if a browser is open.. ... then proceeds to install the toolbar. ... Why would SetSite fail in this case? ...
      (microsoft.public.inetsdk.programming.webbrowser_ctl)