T
tsingmei
Unregistered / Unconfirmed
GUEST, unregistred user!
<font color="red"><strong>NMFTP1的几个属性怎么设置呢?请帮忙看一下源码!</strong></font>(50分)<br />procedure TForm3.Button1Click(Sender: TObject);
begin
Form1.ComboBox1.Text:=Edit1.Text;
Form1.NMFTP1.Host:=Edit2.Text;
Form1.NMFTP1.UserId:=Edit3.Text;
Form1.NMFTP1.Password:=Edit4.Text;
Form1.NMFTP1.Port:=Integer(Edit5.Text);
Form1.NMFTP1.Timeout:=Integer(Edit6.Text);
Form1.NMFTP1.Vendor:=Integer(NMOS_AUTO);
try
Form1.NMFTP1.Connect;
except
Showmessage('Failed to connect!');
Exit;
Form3.Close;
end;
每当我上网后连接,程序总是报错说:"argument错误!".
请各位富翁帮帮忙吧!
我已是最后一点钱了!
begin
Form1.ComboBox1.Text:=Edit1.Text;
Form1.NMFTP1.Host:=Edit2.Text;
Form1.NMFTP1.UserId:=Edit3.Text;
Form1.NMFTP1.Password:=Edit4.Text;
Form1.NMFTP1.Port:=Integer(Edit5.Text);
Form1.NMFTP1.Timeout:=Integer(Edit6.Text);
Form1.NMFTP1.Vendor:=Integer(NMOS_AUTO);
try
Form1.NMFTP1.Connect;
except
Showmessage('Failed to connect!');
Exit;
Form3.Close;
end;
每当我上网后连接,程序总是报错说:"argument错误!".
请各位富翁帮帮忙吧!
我已是最后一点钱了!