Results 1 to 3 of 3

Thread: opening a image

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2004
    Posts
    168

    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!

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    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


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2004
    Posts
    168

    Re: opening a image

    OK thank you but how do I check the extention

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