listview get-childitems -path from a $textbox.text

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 10 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
Sag1v.
Posts: 10
Last visit: Thu Nov 28, 2013 6:32 am

listview get-childitems -path from a $textbox.text

Post by Sag1v. »

Hi all,
i a newbie considering powershall and of course powershell studio.
so go easy on me please! :D
i'm trying to make a wizard that will let the end user change file names withing a selected directory.
the wizard form is great and i managed to cross my way with all the "UpdateNavButtons" but couple of things i can't do:
i can't manage to get a list of items/files from a path that is inserted inside a browsefolder textbox into a listview box.
in short, how do i get-childitems from an input that a user typed in a textbox (a path of course) and place those childitems nicely in listview box?
thanks in advanced! :geek:
User avatar
Sag1v.
Posts: 10
Last visit: Thu Nov 28, 2013 6:32 am

Re: listview get-childitems -path from a $textbox.text

Post by Sag1v. »

ok i managed to do it finaly!
my mistake was that i typed the code in the wrong event. :roll:
This topic is 10 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked