看看我的:
program langhua100;
{$APPTYPE GUI}
uses
Windows;
{
Forms,
Unit1 in 'Unit1.pas' {Form1;}
//{$R *.res}
begin
if MessageBox(0,'现在就启动IE浏览器浏览“新浪”网?','询问',MB_ICONQUESTION+MB_TOPMOST+MB_YESNO)=idYes then
WinExec('C:/Program Files/Internet Explorer/IEXPLORE.EXE http://www.sina.com',SW_MAXIMIZE);
end.