-
opening a image
I have a filelistbox on my form and I want it so that when you double click on a image in the filelistbox it will show it in the image box. Also their are files that are not images in the filelistbox and I want it so if you click them nothing happens. So how would I do this. Any help is appreciated. Thank You! :)
-
Re: opening a image
You can use the LoadPicture function to load an image in a picturebox. To check if you should so something, you can check the extention of the selected file and if it's something that you want (bmp, jpg) then open it :)
-
Re: opening a image
OK thank you but how do I check the extention