Embedding a File Explorer instance in a Windows Forms application form

前端 未结 8 1385
心在旅途
心在旅途 2020-12-01 02:04

My (C#, .NET 3.5) application generates files and, in addition to raising events that can be caught and reacted to, I want to display the target folder to the user in a form

8条回答
  •  温柔的废话
    2020-12-01 02:28

    If you are happy being Windows Vista only and wrapping a COM control, IExplorerBrowser might be acceptable for you needs.

    This The Code Project article shows its use within an MFC program but at least one other person seems to have got it to work in C# after some effort.

    The newer API exposes considerably more programmability than simply intercepting messages, but it is (obviously) useless for older platforms.

提交回复
热议问题