DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Hemant Guest

    show array of images


    Hi

    I want to display an array of images on my VB form. Is there any control
    available to do this? A PictureBox control can only show one image at a time.

    Thanks in advance
    Hemant.


  2. #2
    Mattias Sjögren Guest

    Re: show array of images

    Hemant,

    >I want to display an array of images on my VB form. Is there any control
    >available to do this? A PictureBox control can only show one image at a time.


    Why don't you use a control array of Images (or PictureBoxes)?`


    Matt

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

  3. #3
    Mattias Sjögren Guest

    Re: show array of images

    Hemant,

    >I want to display an array of images on my VB form. Is there any control
    >available to do this? A PictureBox control can only show one image at a time.


    Why don't you use a control array of Images (or PictureBoxes)?`


    Matt

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

  4. #4
    Karl E. Peterson Guest

    Re: show array of images

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:3aa7bbb0.90244875@news.devx.com...
    > Hemant,
    >
    > >I want to display an array of images on my VB form. Is there any control
    > >available to do this? A PictureBox control can only show one image at a time.

    >
    > Why don't you use a control array of Images (or PictureBoxes)?`


    Oops, not a very "portable" solution, eh? ;-)
    --
    http://www.mvps.org/vb/rants/vfred.htm



  5. #5
    Karl E. Peterson Guest

    Re: show array of images

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:3aa7bbb0.90244875@news.devx.com...
    > Hemant,
    >
    > >I want to display an array of images on my VB form. Is there any control
    > >available to do this? A PictureBox control can only show one image at a time.

    >
    > Why don't you use a control array of Images (or PictureBoxes)?`


    Oops, not a very "portable" solution, eh? ;-)
    --
    http://www.mvps.org/vb/rants/vfred.htm



  6. #6
    Mattias Sjögren Guest

    Re: show array of images

    Hi Karl,

    >> Why don't you use a control array of Images (or PictureBoxes)?`

    >
    >Oops, not a very "portable" solution, eh? ;-)


    Umm, no. Do you have a better idea? :-)


    Matt

    ====================================
    Mattias Sjögren - mattias @ mvps.org

  7. #7
    Mattias Sjögren Guest

    Re: show array of images

    Hi Karl,

    >> Why don't you use a control array of Images (or PictureBoxes)?`

    >
    >Oops, not a very "portable" solution, eh? ;-)


    Umm, no. Do you have a better idea? :-)


    Matt

    ====================================
    Mattias Sjögren - mattias @ mvps.org

  8. #8
    Karl E. Peterson Guest

    Re: show array of images

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:3aa80bb1.110726386@news.devx.com...
    > Hi Karl,
    >
    > >> Why don't you use a control array of Images (or PictureBoxes)?`

    > >
    > >Oops, not a very "portable" solution, eh? ;-)

    >
    > Umm, no. Do you have a better idea? :-)


    Naw, that's a good idea. I think we just need to convince TPTB it is.

    Later... Karl
    --
    http://www.mvps.org/vb



  9. #9
    Karl E. Peterson Guest

    Re: show array of images

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:3aa80bb1.110726386@news.devx.com...
    > Hi Karl,
    >
    > >> Why don't you use a control array of Images (or PictureBoxes)?`

    > >
    > >Oops, not a very "portable" solution, eh? ;-)

    >
    > Umm, no. Do you have a better idea? :-)


    Naw, that's a good idea. I think we just need to convince TPTB it is.

    Later... Karl
    --
    http://www.mvps.org/vb



  10. #10
    Dean Earley Guest

    Re: show array of images

    You could use a listview control, with an imagelist.

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems
    "Karl E. Peterson" <karl@mvps.org> wrote in message news:3aa81467$1@news.devx.com...
    > "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    > news:3aa80bb1.110726386@news.devx.com...
    > > Hi Karl,
    > >
    > > >> Why don't you use a control array of Images (or PictureBoxes)?`
    > > >
    > > >Oops, not a very "portable" solution, eh? ;-)

    > >
    > > Umm, no. Do you have a better idea? :-)

    >
    > Naw, that's a good idea. I think we just need to convince TPTB it is.
    >
    > Later... Karl
    > --
    > http://www.mvps.org/vb
    >
    >




  11. #11
    Dean Earley Guest

    Re: show array of images

    You could use a listview control, with an imagelist.

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems
    "Karl E. Peterson" <karl@mvps.org> wrote in message news:3aa81467$1@news.devx.com...
    > "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    > news:3aa80bb1.110726386@news.devx.com...
    > > Hi Karl,
    > >
    > > >> Why don't you use a control array of Images (or PictureBoxes)?`
    > > >
    > > >Oops, not a very "portable" solution, eh? ;-)

    > >
    > > Umm, no. Do you have a better idea? :-)

    >
    > Naw, that's a good idea. I think we just need to convince TPTB it is.
    >
    > Later... Karl
    > --
    > http://www.mvps.org/vb
    >
    >




  12. #12
    Jason Thorn Guest

    Re: show array of images

    Couldn't you use an ImageList, add images to it, and show the image band
    that it creates internally? I know you can add an image 'array' to an
    ImageList but I don't know if you can extract it.

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:3aa7bbb0.90244875@news.devx.com...
    > Hemant,
    >
    > >I want to display an array of images on my VB form. Is there any control
    > >available to do this? A PictureBox control can only show one image at a

    time.
    >
    > Why don't you use a control array of Images (or PictureBoxes)?`
    >
    >
    > Matt
    >
    > ====================================
    > Mattias Sjögren - mattias @ mvps.org
    > http://www.msjogren.net/dotnet/
    >
    > CodeHound - The Software Developer's Search Engine
    > http://www.codehound.com




  13. #13
    Jason Thorn Guest

    Re: show array of images

    Couldn't you use an ImageList, add images to it, and show the image band
    that it creates internally? I know you can add an image 'array' to an
    ImageList but I don't know if you can extract it.

    "Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
    news:3aa7bbb0.90244875@news.devx.com...
    > Hemant,
    >
    > >I want to display an array of images on my VB form. Is there any control
    > >available to do this? A PictureBox control can only show one image at a

    time.
    >
    > Why don't you use a control array of Images (or PictureBoxes)?`
    >
    >
    > Matt
    >
    > ====================================
    > Mattias Sjögren - mattias @ mvps.org
    > http://www.msjogren.net/dotnet/
    >
    > CodeHound - The Software Developer's Search Engine
    > http://www.codehound.com




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links