I have been looking for this information for the past hour, but most of the search strings (e.g. 'open file') produce massive amounts of inapplicable results.
Anyway, all I want to to do is add a simple 'select file' dialog to my form. For the life of me I cannot suss out how to take the 'folderbrowserdialog' or 'openfiledialog' tools and make the functional buttons on the form.
If there is a step-by-step somewhere that I missed in my searching, please point the way!
edit: Failed to mention - I am using PS Studio 2012 3.0.4mbaker2012-06-07 16:59:34
Launching the file/folder browser.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 107
- Last visit: Thu Apr 29, 2021 8:47 am
Launching the file/folder browser.
PowerShell Studio has two control sets can provide good examples for what you want: TextBox - Browse For File TextBox - Browse For Folder All you have to do is alter the Filter property of the OpenFileDialog or the FolderBrowserDialog depending on the Control Set. David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 107
- Last visit: Thu Apr 29, 2021 8:47 am