Displaying pictures?

I would like to display a bunch of pictures with descriptions, a bit like when you select thumsnails in windows explorer but the pictures would be a bit larger and the description perhaps longer that your typical file name. This is for displaying some items for the user to view and select.

Is there a control in VS 2005 that does this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fernando SotoRetiredCommented:
Is this win forms or Web?

If Windows Form have you tried the PictureBox control with a Label control?

szx248Author Commented:
I am using Windows Form not web.

I see that I can display a single picture with PictureBox, but not that I can display variable list of pictures.
Fernando SotoRetiredCommented:
To display a variable list of pictures you will need to dynamically create the number of PictureBox's need to hold your list. So if you need to display 10 pictures you will need to create 10 PictureBox's and place them on your form and then populate them.
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

szx248Author Commented:
I'm looking for something like a grid or table that will allow for picturs to be placed it its cells (something like Word's Table).
Fernando SotoRetiredCommented:
Don't know of one that comes with .Net. You may have to look to see if any software houses have such a custom control.
Mike TomlinsonMiddle School Assistant TeacherCommented:
You can place your dynamic PictureBoxes into a Panel the has its AutoScroll property set to True.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
szx248Author Commented:
I can't seem to have Panel accept more than one PictureBox
Fernando SotoRetiredCommented:
Hi szx248;

How are you trying to add them to the Panel?

szx248Author Commented:
       Dim panel2 As New Panel()
        Dim i As New PictureBox
        Dim i1 As New PictureBox
        Dim i2 As New PictureBox
        i.Image = My.Resources.x1
        i.Width = 220
        i.Height = 220
        i1.Image = My.Resources.x2
        i1.Height = 220
        i1.Width = 220

        panel2.Location = New Point(56, 72)
        panel2.Size = New Size(464, 252)

        panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D

Mike TomlinsonMiddle School Assistant TeacherCommented:
You need to set the locations of your PictureBoxes...

    i.Location = New Point(0,0)
    i1.Location = New Point(225,0)
    i2.Location = New Point(450, 0)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.