hi, thank you very much for the info! you got me on the right track.. however when i compile i get an error that reads: error C2373: 'ShellExecuteA' : redefinition; different type modifiers i dont know if i put all of the code in the right spot, i added it all under the button function:
void CShell2Dlg::OnButton1()
{
// TODO: Add your control notification handler code here
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
ShellExecute(0,"open","http://www.codeproject.com","","",SW_SHOWNORMAL);
}
--later