Re: Upload PictureBox to FTP

I don't know how to do it :$ yes, i know how to save using savefiledialog but i wanna doing this automaticlly.

You know how, when you start typing in the code editor, you'll see choices listed?

For example, if you start typing the name of a control, you'll see your control listed below where you're typing. So if you double-click the line that has your PictureBox name in it, it will complete it for you. Then when you type a dot, it will again show you the choices. Notice that there is a choice in there of "Image". Double-click that line, and then type another dot. Have a look through the list to see if there is anything that looks like what you want to do with the image.

When you have clicked on that, type a "(" (without the quotes), and you'll see a box showing what you need to supply as an argument to that function.

Now as for naming your pictures well I would suggest coming up with your own random name generator, and saving the picture from the picturebox(using the picturebox.save method) as a returned random name of a function to which will generate the name for you. We won't write code for you unfortunately here, you'll have to do that yourself, we can only give you ideas, tips, tricks, and articles to read up on.