Click to See Complete Forum and Search --> : Execute default application


sandokan
December 7th, 2004, 12:46 PM
Hi

I'd like to open a website from my program with the default browser. How can I do this? I am developing in C++. Note that its needs to be portable from Win95 to WinXP, 2000, 2003, etc.

Marc G
December 7th, 2004, 01:57 PM
ShellExecute(hWnd,_T("open"), _T("http://www.codeguru.com/"), NULL, NULL, SW_SHOW);