Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Cause Windows.Forms.SaveFileDialog to display in Details mode

, 14 Mar 2010
Rate this:
Please Sign up or sign in to vote.
I have several applications that open a SaveFileDialog, but it always comes up in "List" mode and I had not found a way of configuring the dialog to display in "Details" mode. This is a kludgy work-around, but it seems to work OK. After Declaring the dialog in your code and just prior to calling...
I have several applications that open a SaveFileDialog, but it always comes up in "List" mode and I had not found a way of configuring the dialog to display in "Details" mode. This is a kludgy work-around, but it seems to work OK. After Declaring the dialog in your code and just prior to calling the dlg.ShowDialog() method I include the line:
SendKeys.Send("{tab}{tab}{tab}{tab}{tab}{right}{right}{down}{up}{enter}")
That seems to work to bring the dialog up in the "Details" mode.
I use it on XP, have not tried it on Vista or W7.
 
Enjoy! - hground

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

hground
Software Developer (Senior)
United States United States
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 14 Mar 2010
Article Copyright 2010 by hground
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid