Hi every one :)

I've been doing a project and it seems hard for me to finish it, because i dont have an idea with the code.
i have a code for looping picturebox . several picture box during runtime had been done, but how do i can give them an images, each picturebox .

I hope you're understanding my problem :) any idea will have a big help for me . thank you :)

Recommended Answers

All 2 Replies

Every PictureBox has an Image property. See here.

You can load an image into a picturebox by

Dim fs As New System.IO.FileStream(filename, IO.FileMode.Open, IO.FileAccess.Read)
pbxPicture.Image = System.Drawing.Image.FromStream(fs)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.