OpenDialog Filter

Discussion in 'Questions (Windows Mobile)' started by Cableguy, May 22, 2007.

  1. Cableguy

    Cableguy Expert Licensed User

    Hi,

    I tryed this code line and it doesn't work as I planned

    open1.Filter = "ImageFiles|*.jpg,*.gif,*.png"

    It only show "Images files" but no extensions AND NO FILES even in a folder that I known has them...
    How to set multiple extensions?
     
  2. Cableguy

    Cableguy Expert Licensed User

    Never Mind...
    I just noticed that I entered a "," when I should have entered a ";"....Newbie mistake :sign0161: :sign0013:

    BTW: How can I filter Directories?
     
    Last edited: May 22, 2007
  3. Erel

    Erel Administrator Staff Member Licensed User

    You can't filter directories.
     
  4. Cableguy

    Cableguy Expert Licensed User

    Any workaround?

    I need to select a directory as a "from - to" target
     
  5. Erel

    Erel Administrator Staff Member Licensed User

  6. Cableguy

    Cableguy Expert Licensed User

    Thanks Erel, right on the money as usual...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice