The following sample opens the indicater file by strDir in the default browser....this works with the current directory but you can place any value you want to replace strDir....
Code:
void CAboutDlg::OnButton1()
{
CString strDir;
char buffer[255];
GetCurrentDirectory(255, buffer);
strDir = buffer;
strDir.TrimRight("\\");
strDir += "\\";
strDir += _T("helpindex.html");
if( 32 >= (int)ShellExecute( NULL, "open", strDir, NULL, NULL, SW_SHOWNORMAL))
{
AfxMessageBox("::ShellExecuteFailed"
" to open this link!");
}
}