To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: Powershell Studio 2019
32 or 64 bit version of product: 64
Operating system: 10
32 or 64 bit OS: 64
*** Please add details and screenshots as needed below. ***
Please help! I am using the Tab Control tutorial as a basis, with the "Get Folder" button successfully. On another tab I would like to select a file, not a folder.
The following forum post references using FolderBrowserDialog to select a file instead of a folder; viewtopic.php?t=2318. "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"
I please need help in understanding how to set the "filter property" to select a file? Or should I use the "Textbox - Browse for file" tool under Control Sets instead?
I appreciate any guidance and help! Thank You!
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
FolderBrowserDialog - Select File
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.
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.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: FolderBrowserDialog - Select File
[Topic moved by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: FolderBrowserDialog - Select File
Open your project
Go to the Design Tab
Then look up a bit and to the left
You'll have three boxes
Controls | Control Sets | Select
Click Control Sets, then double click which you want
Go to the Design Tab
Then look up a bit and to the left
You'll have three boxes
Controls | Control Sets | Select
Click Control Sets, then double click which you want
- Attachments
-
- 2019-11-11_14-46-23.png (17.51 KiB) Viewed 1572 times