比如
Dim piv As WinForm.PictureViewer = e.Form.Controls("PictureViewer1")piv.remote = TrueDim ftp As New FTPClientftp.host="192.168.128.143"ftp.Account = "yinsha"ftp.password = "128168909"piv.FTPclient = ftp