c# - How to open new OpenFileDialog automatically in Vista/Win7? -


i'm on vista , i'm using microsoft.win32.openfiledialog class.

when call showdialog() the old xp-style dialog: alt text

how the new vista-style dialog fallback the old one on windowsxp? alt text

a bit of rumble:

i don't understand why didn't replace dialog in vista, kept both of them. legacy apps never open new dialog, unless updated.

yes, you'd have upgrade .net 4.0 new dialog. if you're stuck on 3.5 can use system.windows.forms.openfiledialog, did update use new ifiledialog com interface.

the fallback automatic can use autoupgradeenabled property force legacy, if necessary. not, unlikely .net program modify dialog.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -