Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to Get the path of Internet Explorer using C++

How to Get the path of Internet Explorer using C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tns_ranjith
    wrote on last edited by
    #1

    How to Get the installer path of Internet Explorer using C++

    S D 2 Replies Last reply
    0
    • T tns_ranjith

      How to Get the installer path of Internet Explorer using C++

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      Why do you want to do that? The various reasons I can think of for needing the path to Internet Explorer could well be satisfied using a different method that doesn't need the path. Aside from that, you could a) look at the Internet Explorer shortcut in the Start Menu (if there is one), or b) Look in the registry @ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths. But please answer the first question. There's usually a better way.

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      T 1 Reply Last reply
      0
      • S Stuart Dootson

        Why do you want to do that? The various reasons I can think of for needing the path to Internet Explorer could well be satisfied using a different method that doesn't need the path. Aside from that, you could a) look at the Internet Explorer shortcut in the Start Menu (if there is one), or b) Look in the registry @ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths. But please answer the first question. There's usually a better way.

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        T Offline
        T Offline
        tns_ranjith
        wrote on last edited by
        #3

        thx stuart..but i need programatically plz help

        S 1 Reply Last reply
        0
        • T tns_ranjith

          thx stuart..but i need programatically plz help

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          Ummmm - you realise that you can do those things programmatically and that is precisely what I meant you to do.... But as I said - why do you need the path to Internet Explorer?

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

          1 Reply Last reply
          0
          • T tns_ranjith

            How to Get the installer path of Internet Explorer using C++

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            If it's the default browser, you could use FindExecutable(). There's also HKCR\http\shell\open\command in the registry.

            "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups