Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
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 at 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 Smile | :)
plz vote and accept ans if it helps u
Enjoy coding
Hidayat Meman at 30-Jan-13 23:37pm
Hey Dear am working it gives error regarding picturebox. picturebox is available in controls?
CodeMaster_Noob at 31-Jan-13 0:23am
no in u will be having image control... you can replace picturebox with image control.
Hidayat Meman at 31-Jan-13 4:16am
ok dear Thanx..i used image button b'coz image control dosnt provide ImageUrl Property..
Hidayat Meman at 30-Jan-13 23:54pm
and thanx for that...
CodeMaster_Noob at 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
0 OriginalGriff 514
1 Gihan Liyanage 298
2 RyanDev 268
3 Sergey Alexandrovich Kryukov 223
4 Richard Deeming 185
0 Sergey Alexandrovich Kryukov 8,936
1 OriginalGriff 7,891
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928

Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2014
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