这样来:<br><br>uses ComObj,ShellAPI;<br><br>procedure OpenInternetExplorer(sURL : string);//sURL参数为你要浏览的网址<br> const<br> csOLEObjName = 'InternetExplorer.Application';<br> var<br> IE : Variant;<br> WinHandle : HWnd;<br> begin<br> if VarIsEmpty(IE) then<br> begin<br> IE := CreateOleObject(csOLEObjName);<br> IE.Visible := true;<br> IE.Navigate(sURL);<br> end<br> else<br> begin<br> WinHandle := FindWindow('IEFrame', nil);<br> if WinHandle <> 0 then<br> begin<br> IE.Navigate(sURL);<br> SetForegroundWindow(WinHandle);<br> end<br> else<br> begin<br> // handle error ...<br> end;<br> end;<br> end;<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>begin<br> OpenInternetExplorer('www.sina.com.cn');<br>end;<br><br>procedure TForm1.Button2Click(Sender: TObject);<br>begin<br> OpenInternetExplorer('www.263.net');<br>end;