Explorer.exe within a nNet Form

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 2 weeks, 6 days ago.

  • Author
    Posts
  • #58159
    Profile photo of Dan
    Dan
    Participant

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

    (Photoshopped)

    [IMG]http://i50.tinypic.com/6pz484.jpg[/IMG]

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

  • #58160
    Profile photo of Don Jones
    Don Jones
    Keymaster

    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.

You must be logged in to reply to this topic.