Reputation: 1266
Is there a .net control I can use which will allow me to create a program which allows me to browsers through drives and folders to open any given file in the associated program and start any program?
Would OpenFileDialog do this, or is there a windows explorer type control I could use?
Upvotes: 1
Views: 70
Reputation: 6367
I haven't had a reason to use it, so I can't make a recommendation, but I've had my eye on this one for awhile. It looks pretty good.
HTH
Upvotes: 0
Reputation: 224904
No, there's no control. However:
Process.Start
on a filename will automatically open it with the default handler.IO.DirectoryInfo
and IO.FileInfo
types to retrieve the directory structure.TreeView
s and ListView
s to emulate Explorer's controls.Upvotes: 1