Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Open browser using C

Options
  • 17-02-2006 2:38pm
    #1
    Registered Users Posts: 250 ✭✭


    What would be the easiest way to open a web browser with a specific url in a C++ application?

    TIA


Comments

  • Registered Users Posts: 1,481 ✭✭✭satchmo


    If you're in windows:
    ShellExecute(NULL, "open", "http://www.boards.ie", NULL, NULL, SW_SHOWNORMAL);
    
    and you'll need to include windows.h too.


  • Registered Users Posts: 250 ✭✭ikoonman


    thanks !


Advertisement