Initialize OpenFileDialog

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • barbara_dave@yahoo.com

    Initialize OpenFileDialog

    Hi, All,

    I want to use the openfiledialog to open different extension files in
    different directory( only one type files at one time). I set the
    OpenFiledialog InitialDirector y and Filter property for ".dat" files at
    first time, it works. When I try to use openfiledialog to set different
    InitialDirector y an different Filter property for ".txt" files at
    second time, I got frozen window. Even I added code to dispose
    openfiledialog after using it, I still got frozen window. How to use
    OpenFileDialog to open one type file in a directory and open another
    type file in another directory next time?
    Thinks a lot for your time and help!

Working...