Hi, I am using the OpenFileDialog (I open the dialog from different button clicks), and I need to set a different initial directory in each different button click event...
The first time I click the button and the OpenFileDialog is opened the initial directory is just fine, but if I select a file from this directory, the next time I click other button the openFileDialog does not opens in the InitialDirectory (given with penFileDialog.InitialDirectory) but instead it opens with the path of the last directory where I open a file...
Is there I way I can fix this and make the OpenFileDialog to ALWAYS open in the given initialDirectory.
Thanks a lot,
Cristina
The first time I click the button and the OpenFileDialog is opened the initial directory is just fine, but if I select a file from this directory, the next time I click other button the openFileDialog does not opens in the InitialDirectory (given with penFileDialog.InitialDirectory) but instead it opens with the path of the last directory where I open a file...
Is there I way I can fix this and make the OpenFileDialog to ALWAYS open in the given initialDirectory.
Thanks a lot,
Cristina