BobboHobbo
2007-11-04 01:50:55
In my form, if you disconnect your internet and play my script and put any auth in, you get Socket Error # 11004 because it cant acess the page which i noticed.
I tried all this stuff like if it gets Socket Error # 11004 in the debug it will close the form and terminate script but its not working :llll
This is what im using.
It works for the Acess error thing you get if you decline the connection to the website, but not for this -.-
I tried all this stuff like if it gets Socket Error # 11004 in the debug it will close the form and terminate script but its not working :llll
This is what im using.
for I := I to 100 do
if GetDebugLine(I) = 'Socket Error # 11004' then
begin
Result := True;
CloseFirstForm := True;
frmdesign.ModalResult := mrCancel;
Exit;
end else
Result := False;
end;It works for the Acess error thing you get if you decline the connection to the website, but not for this -.-