code_junkie

How to set OpenFileDialog View Menu to Detail View?

Nov 12th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. DefaultViewMode:
  2.  
  3. This property lets you choose which view the OpenFileDialog should
  4. start in; by default, it opens using the “Details view”. Here you
  5. can specify a different default view like Icons, List, Thumbnail, Detail, etc
  6.  
  7. Dim OpenFileDialog1 As New OpenFileDialog
  8. SendKeys.Send("{tab}{tab}{tab}{tab}{tab}{right}{right}{down}{up}{enter}")
  9. OpenFileDialog1.ShowDialog()
Add Comment
Please, Sign In to add comment