question about "textbox-browse for file" control set

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 8 years and 1 month 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.
User avatar
mlglenn
Posts: 18
Last visit: Mon Jul 17, 2017 8:49 am

question about "textbox-browse for file" control set

Post by mlglenn »

working in sapien powershell studio 2015, i used a "textbox-browse for file" control set.
by default, when i browse for a file, it only sees *.txt files. Is there a way to change that to open for either "all files" or perhaps filter on "CSV" files?
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: question about "textbox-browse for file" control set

Post by davidc »

You can change the filter of the OpenFileDialog in the designer:
Filter Property.png
Filter Property.png (16.17 KiB) Viewed 3239 times
For more information on the Filter property, please refer to the following MSDN article:

https://msdn.microsoft.com/en-us/librar ... ilter.aspx

David
David
SAPIEN Technologies, Inc.
User avatar
mlglenn
Posts: 18
Last visit: Mon Jul 17, 2017 8:49 am

Re: question about "textbox-browse for file" control set

Post by mlglenn »

thanks for the help.... initially i had problems finding where to make adjustments to the filter, but finally noticed the "openfiledialog1" box in the lower left of the ISE, again, thanks for the help
This topic is 8 years and 1 month 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.