Results 1 to 2 of 2

Thread: stupid question

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    4

    stupid question

    i know this question sounds stupid to all you experts, but i just started to learn vb, and i cant figure out how to change the image in an imagebox to something in an imagelist midway through the program.

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Something like this...

    Code:
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            picExample.Image = ImageList1.Images(0)
        End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width