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

 
Keymaster
1 year, 11 months ago.

  • Author
    Posts
  • #58159
    Dan

    Participant
    Points: 0
    Rank: Member

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

    (Photoshopped)

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

  • #58160

    Keymaster
    Points: 7
    Rank: Member

    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.