I want to launch the Web browser and go to a pre-determined web site when I click a menu item from my VC++ 6.0 Application.
Thanks in advance,
Vasu
Printable View
I want to launch the Web browser and go to a pre-determined web site when I click a menu item from my VC++ 6.0 Application.
Thanks in advance,
Vasu
You can use shellexecute:
HINSTANCE h = ShellExecute(NULL, "open", "http://whatever", NULL, NULL, SW_SHOWNORMAL);
if ((UINT)h > 32)
{
// it worked...
Cheers,
Roger