我要通過點機按鈕打開一個網頁或發送MAIL,不是在程序中打開,只要能調用系統中的IE或OUTLOOK就行了,應該很簡單吧,怎麽寫啊~~~~~~~~~

解决方案 »

  1.   

    ShellExecute(handle, nil,'IEXPLORE.EXE',nil, 'c:\', SW_SHOWNORMAL);你试试这个
      

  2.   

    ShellExecute(handle, nil,'IEXPLORE.EXE',nil, 'c:\', SW_SHOWNORMAL);
    打开IEShellExecute(handle, nil,msimn.exe',nil, 'c:\', SW_SHOWNORMAL);
    打开OUTLOOK我测试过了,给分吧!
      

  3.   

    ShellExecute(Handle,'open',PChar('http://url/html.html'),nil,nil,SW_SHOW);//用系统默认浏览器打开ShellExecute(Handle,'open',PChar('mailto:[email protected]'),nil,nil,SW_SHOW);//用系统默认邮件工具打开