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. Launch Internet Explorer

Launch Internet Explorer

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
5 Posts 4 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.
  • V Offline
    V Offline
    Vickie
    wrote on last edited by
    #1

    Can I know how to launch the Internet Explorer after the user had input the URL? Thx for your help!! ^.^. Regards, Dig

    M 1 Reply Last reply
    0
    • V Vickie

      Can I know how to launch the Internet Explorer after the user had input the URL? Thx for your help!! ^.^. Regards, Dig

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Do a ShellExecute() on the URL. This will launch the user's default browser, which is nicer and will work even if IE isn't installed. --Mike-- http://home.inreach.com/mdunn/ Is history an illusion caused by the passage of time, or is time an illusion caused by the passage of history?

      C 1 Reply Last reply
      0
      • M Michael Dunn

        Do a ShellExecute() on the URL. This will launch the user's default browser, which is nicer and will work even if IE isn't installed. --Mike-- http://home.inreach.com/mdunn/ Is history an illusion caused by the passage of time, or is time an illusion caused by the passage of history?

        C Offline
        C Offline
        Colin J Davies
        wrote on last edited by
        #3

        Just one catch ( I'm only posting this for something to post as I'm bored) What happens when no browser is associated with a html || htm || hta || asp || shtml etc etc.) But I still use shellexecute all the time ! :-) Regardz Colin

        L M 2 Replies Last reply
        0
        • C Colin J Davies

          Just one catch ( I'm only posting this for something to post as I'm bored) What happens when no browser is associated with a html || htm || hta || asp || shtml etc etc.) But I still use shellexecute all the time ! :-) Regardz Colin

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          If you have IE installed, it should be associated already through registry I guess, unless you did some registory edits.

          1 Reply Last reply
          0
          • C Colin J Davies

            Just one catch ( I'm only posting this for something to post as I'm bored) What happens when no browser is associated with a html || htm || hta || asp || shtml etc etc.) But I still use shellexecute all the time ! :-) Regardz Colin

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #5

            If there's no app associated with .HTM(L) files, then either a) there's no browser installed; b) the registry is horked; or c) the user went in and manually deleted the association. None of which you can do anything about. :) --Mike-- http://home.inreach.com/mdunn/ Time is an illusion; lunchtime doubly so.

            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