Results 1 to 3 of 3

Thread: browse directory

  1. #1

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    browse directory

    Hi is there a control that I can use that serves like HtmlInputFile but i displays only the directory

    Thanks,

    Jewel
    Last edited by jewel; Jul 14th, 2005 at 02:15 AM.
    xoxo

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: browse directory

    You can use the OpenFileDialog, like this:

    VB Code:
    1. OFD.InitialDirectory = "D:\temp\david\my pictures\old pics"
    2.         OFD.Filter = "Pictures (*.bmp;*.jpg;*.gif)|*.bmp;*.jpg;*.gif|All files (*.*)|*.*"
    3.         OFD.ShowDialog()
    4.         fn = OFD.FileName

  3. #3

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    Re: browse directory

    Hi, sorry my question was not clear, i need only a directory browser not file browser...in a web form

    thanks,
    Jewel
    xoxo

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