CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2008
    Posts
    11

    How to install an extention in IE via code

    Hello All,

    I am new to working with browser extentions. Can someone give me a good overview of how this is accomplished in Internet Explorer, and the steps needed and code examples of how to acheive this programmaticaly.

    Thank You

  2. #2
    Join Date
    Jul 2005
    Location
    Currently in Mexico City
    Posts
    568

    Re: How to install an extention in IE via code

    if you are talking about real broser extensions:
    - http://www.enhanceie.com/ie/dev.asp
    - http://msdn.microsoft.com/en-us/libr...87(VS.85).aspx
    Tho this is not js related question then.

    If it's IE behavior you are talking it's done via css normally:
    Code:
    body {behavior:url(styles/csshover2.htc);}
    //where csshover2.htc is a js file overriding IE behavior for certain events
    Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?

    I had a nightmare last night. I was dreaming that I’m 64-bit and my blanket is 32-bit and I couldn’t cover myself with it, so I’ve spent the whole night freezing. And in the morning I find that my blanket just had fallen off the bed. =S (from: bash.org.ru)

    //always looking for job opportunities in AU/NZ/US/CA/Europe :P
    willCodeForFood(Arrays.asList("Java","PHP","C++","bash","Assembler","XML","XHTML","CSS","JS","PL/SQL"));

    USE [code] TAGS! Read this FAQ if you are new here. If this post was helpful, please rate it!

  3. #3
    Join Date
    Sep 2008
    Posts
    11

    Re: How to install an extention in IE via code

    HI XEEL,

    Thank you for your reply. I am currently investigating the information on the links that you sent me. Previously to this post I found some information related to this explaining the reg keys that need to be added and edited accordingly for the extention, I had\ve done this manualy already, and thanks to your info was able to get the right CLSID key from the msdn site. I have added the keys and values appropriately, but since I am brand new to doing this and this is actualy the first time I am attempting this, what is needed after the reg key additions, just a shutdowdown of IE and I should see the new item added in the toolbar, or a complete reboot. I have already reboted, just not sure what needs to be done now to see the new icon that I added reg keys for in IE. It is my understanding that IE should pick up the entries from the registry and display the ICON. This is just a testing of this, the ultimate goal is to be able to do the same thing programatically afterwards.

    Once again, Thank You

  4. #4
    Join Date
    Sep 2008
    Posts
    11

    Re: How to install an extention in IE via code

    Hi Xeel,

    I found an example to do it manualy that worked using local Group Policy.

    When I checked the registry, the policy did basicaly the same thing with the key entries under HKEY_CURRENT_USER. When I did it manualy before I used HKEY_LOCAL_MACHINE where the documentation said that it work in both cases, as needed.

    Now I would like to accomplish this task programaticaly, can I use VB script to do this, and how would I go about doing it.

    Thank You

  5. #5
    Join Date
    Jul 2005
    Location
    Currently in Mexico City
    Posts
    568

    Re: How to install an extention in IE via code

    It's IE, it's Windows, VB should be good
    Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?

    I had a nightmare last night. I was dreaming that I’m 64-bit and my blanket is 32-bit and I couldn’t cover myself with it, so I’ve spent the whole night freezing. And in the morning I find that my blanket just had fallen off the bed. =S (from: bash.org.ru)

    //always looking for job opportunities in AU/NZ/US/CA/Europe :P
    willCodeForFood(Arrays.asList("Java","PHP","C++","bash","Assembler","XML","XHTML","CSS","JS","PL/SQL"));

    USE [code] TAGS! Read this FAQ if you are new here. If this post was helpful, please rate it!

  6. #6
    Join Date
    Sep 2008
    Posts
    11

    Re: How to install an extention in IE via code

    Thanks Xeel,

    You rock dude!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured