Click here to Skip to main content
12,943,367 members (64,205 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hey Freinds Please Give me code for following.
I want to create Dynamically(Run time) multiple image Control into the panel and Images are placed in sequence. In a Single Row only 4 images are display after then in a new row it will display another images
Posted 30-Jan-13 2:29am
ryanb31 30-Jan-13 8:35am
What have you tried? Not often will you find someone who will just give you all of the coding you need.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

use below code multiple times using loop to dynamically generate image controls

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim image1 As PictureBox = Nothing
        image1.Height = 50
        image1.Width = 50

    End Sub

Hope it helps u :)
plz vote and accept ans if it helps u

Enjoy coding
Hidayat Meman 30-Jan-13 23:37pm
Hey Dear am working it gives error regarding picturebox. picturebox is available in controls?
Hidayat Meman 30-Jan-13 23:54pm
and thanx for that...
CodeMaster_Noob 31-Jan-13 0:23am
no in u will be having image control... you can replace picturebox with image control.
Hidayat Meman 31-Jan-13 4:16am
ok dear Thanx..i used image button b'coz image control dosnt provide ImageUrl Property..
CodeMaster_Noob 31-Jan-13 4:22am
ur wc :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,643
CHill60 2,930
Maciej Los 2,328
Jochen Arndt 1,900
ppolymorphe 1,765

Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100