老师: 您 好!
可以连接FTP
怎样把FTP加载到窗口中的Pi ct u r e B o x 1 ?
请老师指教!!!
谢谢!!!
祝老师新年,身体康泰!财源广进!
先下载,在赋值给控件:
http://www.foxtable.com/webhelp/topics/1410.htm,比如
Dim ftp1 As new ftpclient
ftp1.host="196.128.143.28"
ftp1.Account = "foxuser"
ftp1.password = "138238110"
If ftp1.Download("\photo\Desert.jpg","c:\data\Desert.jpg") = True Then
e.fprm.controls("PictureBox1").ImageFile = "c:\data\Desert.jpg" http://www.foxtable.com/webhelp/topics/2728.htm Else
Messagebox.show("下载失败!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information)
End If