uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, HTTPGet, OBRARCompress, wininet;procedure TForm1.FormShow(Sender: TObject); begin if InternetCheckConnection('http://www.sohu.com/', 1, 0) then begin end else begin showmessage('没有网络连接,请拨号登陆internet'); end; end;以前写的智能在线升级
to ghyghost(爱国人士) 问题已经解决 by the way 智能在线升级怎么实现,我现在做的这个东东牵涉到这一块,多谢了! 能提供实现吗?非常感谢[email protected]
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, HTTPGet, OBRARCompress, wininet;procedure TForm1.FormShow(Sender: TObject);
begin
if InternetCheckConnection('http://www.sohu.com/', 1, 0) then
begin
end
else
begin
showmessage('没有网络连接,请拨号登陆internet');
end;
end;以前写的智能在线升级
问题已经解决
by the way
智能在线升级怎么实现,我现在做的这个东东牵涉到这一块,多谢了!
能提供实现吗?非常感谢[email protected]