Autoupgradeenable property of openfiledialog.
Posted
by
Harikrishna
on Stack Overflow
See other posts from Stack Overflow
or by Harikrishna
Published on 2011-01-13T04:48:58Z
Indexed on
2011/01/13
4:53 UTC
Read the original article
Hit count: 239
I had need of showing open file dialog in winform application. And one property of the file dialog, autoupgradeenabled which I set as a true, which is for updating the open file dialog according to operating system, like if application is running on xp then dialog is displayed different as in wista or window 7.
So when I used that property as a true, and once in the machine where there was xp with 2.0 .net framework that open file dialog could not be opened. So I tried by doing it false then also it could not be opened in the machine with the xp and 2.0 framework.
Then I tried by commenting that whole line means I removed that property from the code, then I tried and it was fine in xp machine with 2.0 framework. So problem is I cannot understand that why that property is not working by setting it false or true. Because by setting that property is should work in all os with all framework and dialog should be changed according to os. If not,then what is the meaning of that property ?
© Stack Overflow or respective owner