Tech Off Thread

5 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Internet Explorer Plug-in

Back to Forum: Tech Off
  • User profile image
    Andrew Davey

    Does anyone have any good resources for creating plug-ins for Internet Explorer. I want to write some code that intercepts clicking a hyperlink (for an RSS feed) and invokes a sepearate application.

    Any ideas?

    - Andrew

  • User profile image
    Rossj

    Andrew Davey wrote:
    Does anyone have any good resources for creating plug-ins for Internet Explorer. I want to write some code that intercepts clicking a hyperlink (for an RSS feed) and invokes a sepearate application.

    Any ideas?


    This any help?

  • User profile image
    Maurits

    Are you considering writing a handler for rss:// links, or are you trying to create (in effect) a global onclick event for <a> tags that does

    if (the thing is an RSS link)
    {   do my custom RSS stuff
    } else
    {   let IE handle it
    }
    ?

  • User profile image
    Andrew Davey

    I've changed the way I'm doing things now. I'm now making a Toolbar band (using a codeproject.com base class). I've hit another weird problem with frames though.

    for(int i = 0; i<doc2.frames.length; i++)

    {

    object box = i;

    object frame = doc2.frames.item(ref box);

    if(frame is IHTMLWindow2)

    {

    try

    {

    IHTMLDocument2 doc = (frame as IHTMLWindow2).document;

    ParseHtmlDoc(doc);

    }

    catch(Exception ex)

    {

    MessageBox.Show(ex.ToString());

    }

    }

    }

    The line "doc = (frame as IHTMLWindow2).document;" throws an UnauthorisedAccessException on the _get_document() method! Any ideas - this is driving me nuts!


  • User profile image
    Jazzynupe

    Just a quick question... Using C#? Just wondering...

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.