Results 1 to 9 of 9

Thread: [Solved CODING BEGINNER] How can I show a images from listbox ?

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2017
    Posts
    96

    Thumbs up [Solved CODING BEGINNER] How can I show a images from listbox ?

    Hello , i have a emergency!
    i look for a way to execute a image from a listbox taken randomly.

    i tried this:

    textbox1.test = random_number ' i managed to generate a random number
    picture1.image = listbox1.item(textbox1.text) but it don't work
    also
    picture1.image = image.location(listbox1.item(textbox1.text)) ' notice important i add all path my pictures are in my.resources.[name of pictures] !
    NO result! crash of applications.

    somebody could be my savior! help me please! thank you so much for your answer in advance!
    Last edited by danzey; Jun 26th, 2021 at 03:58 PM.

Tags for this Thread

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