Results 1 to 4 of 4

Thread: File List Box AARRGH!!!

  1. #1
    fntzlnd
    Guest

    File List Box AARRGH!!!

    Why wont the file list box display multiple file types. Here is my line of code:

    File1.Pattern = "*.jpg; *.bmp"

    It only lists .jpg's, and if I reverse the order, it only lists .bmps.

    What is the deal?
    Thank you.
    fntzlnd

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    There is a small error in MSDN (which is presumably where you got that from). You can't have a space in the string, so it should be
    VB Code:
    1. File1.Pattern = "*.jpg;*.bmp"

  3. #3
    fntzlnd
    Guest

    THANK YOU!

    Thank you so very much. It is these little things that make me pull my hair out.

    Thanks again.

    Greg

  4. #4
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    I blame MS for baldness!

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