Explorer.exe within a nNet Form

Welcome Forums General PowerShell Q&A Explorer.exe within a nNet Form

This topic contains 1 reply, has 2 voices, and was last updated by

2 years, 7 months ago.

  • Author
  • #58159

    Topics: 1
    Replies: 0
    Points: 0
    Rank: Member

    I am hoping to put together a small gui application written in powershell that will look like the following :


    Is it possible? this looks much cleaner than TreeView or some other clunky means of browsing through a folder structure.

  • #58160

    Topics: 13
    Replies: 4872
    Points: 1,813
    Helping HandTeam Member
    Rank: Community Hero

    Well, you can't "embed" Explorer.exe, no. The screen shot you shared is a FileOpen dialog, though, and you can certainly launch one of those.

    https://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog(v=vs.110).aspx is the documentation. This, like anything else GUI, is .NET programming (WinForms, in this case), not PowerShell per se, so you'll have to decide if it's in your wheelhouse or not.

The topic ‘Explorer.exe within a nNet Form’ is closed to new replies.