How to upload an image file from my computer to my server using Visual Basic 6?
Posted on 2013-01-25
I'm developing an app in vb6 that will contain Contacts but also the pictures of the persons, so i' thinking to create a folder on the network to contains all the pics, so my mySQL database won't contains them.
I already show the picture of the person on the form and i have a text box containing the path of the file, What I need now is to save, upload or copy the picture on the network folder.
This is the code to show the pic:
Private Sub cmdFoto_Click()
txtBuscaFoto.Text = CommonDialog1.FileName
Image1.Picture = LoadPicture(txtBuscaFoto.Text)
Please any help!!!
Thank you guys.