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 start default broswer?

how to start default broswer?

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
4 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.
  • K Offline
    K Offline
    kevincwong
    wrote on last edited by
    #1

    Hi, I am new to VC++. I tried to find out how to start up the default broswer with an URL within SDI. I google and search this site but without much luck. I believed I need to make a system call but not sure how to do it with VC++. Any suggestions would be appreciated. Kevin

    M T 2 Replies Last reply
    0
    • K kevincwong

      Hi, I am new to VC++. I tried to find out how to start up the default broswer with an URL within SDI. I google and search this site but without much luck. I believed I need to make a system call but not sure how to do it with VC++. Any suggestions would be appreciated. Kevin

      M Offline
      M Offline
      Marc Soleda
      wrote on last edited by
      #2

      Look at CHtmlView[^] class. I hope it helps, Marc Soleda ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

      1 Reply Last reply
      0
      • K kevincwong

        Hi, I am new to VC++. I tried to find out how to start up the default broswer with an URL within SDI. I google and search this site but without much luck. I believed I need to make a system call but not sure how to do it with VC++. Any suggestions would be appreciated. Kevin

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

        kevincwong wrote: I am new to VC++. I tried to find out how to start up the default broswer with an URL

        try this

        ShellExecute(NULL,"open","http://www.codeproject.com",NULL,NULL,SW_SHOWNORMAL);

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        K 1 Reply Last reply
        0
        • T ThatsAlok

          kevincwong wrote: I am new to VC++. I tried to find out how to start up the default broswer with an URL

          try this

          ShellExecute(NULL,"open","http://www.codeproject.com",NULL,NULL,SW_SHOWNORMAL);

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          K Offline
          K Offline
          kevincwong
          wrote on last edited by
          #4

          Wow! Great! It works exactly what I want. Thanks, Kevin

          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