如何用delphi编写一个会自动弹出网页的exe程序

来源:百度知道 编辑:UC知道 时间:2024/06/05 00:22:46
就是只要打开这个程序,就会自动弹出几个网页。如果不好弄,其他编程语言也可以。

uses 加入
shellapi

procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);

begin
shellexecute(handle,nil,pchar('http://www.yy66.net/'),nil,nil,sw_shownormal);
end;