Hi. I've been working on this FTP client for a while and in it is Show selected image. I'm currently using this code:
PictureBox1.Image = New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(ToolStripLabel1.Text)))
I added it to the Form load event. The picture I'm acquiring is from an FTP server but each time it loads i keep getting this error: The path is not of a legal form.
Is there a solution for this?
If so please give it to me :)
Thanks!