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:
how the new vista-style dialog fallback the old one on windowsxp?
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
Post a Comment