Results 1 to 8 of 8

Thread: open folder dialog

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283

    open folder dialog

    i know how to use the openFileDialog, but can you do the same thing for returning a folder?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    If you have VS.NET 2003 , then there is FolderBrosweDialog to set/get folders . Isn't that what mean !

  3. #3

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    i dont have vs 2003, but i should get it.
    how do you do it in the older version?

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    To get a folder with OpenFileDialog ? I doubt it . You can't unless you specified a file name and pressed Open , at this stage you can parse the file name to get the path . Build your own Dialog (which is time-conusming) or some APIs that can bring FolderDialog used in Windows .

  5. #5

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    that sucks. i've never used apis before... no idea how to go about doing that.

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  7. #7

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    thanks pirate. that's just what i need.

  8. #8

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