Hello People,

I have a listbox which shows 5 items(strings).
Those 5 items are pictures.

When a user clicks on one of those items, I want the frmmain.picture to become that picture.

example.
Code:
lstwallpaper.additem"Clouds"
lstwallpaper.additem"Moon"
lstwallpaper.additem"Lakes"
lstwallpaper.additem"Sun"
lstwallpaper.additem"Win2000"
now when a user clicks on one of those I would like the form to take on that background.

Here is what I have tried.

Code:
dim x%
dim picture$

picture$ = lstwallpaper.list(x%)
frmmain.picture= picture$
Thanks in advance