nami
nami

Reputation: 1266

adding windows explorer type functionality to my program

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

Answers (2)

InteXX
InteXX

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

Ry-
Ry-

Reputation: 224904

No, there's no control. However:

  • Using Process.Start on a filename will automatically open it with the default handler.
  • You can enable people to open it with another program by passing it as arguments to the program, at least, usually.
  • You can use the IO.DirectoryInfo and IO.FileInfo types to retrieve the directory structure.
  • You can use TreeViews and ListViews to emulate Explorer's controls.

Upvotes: 1

Related Questions