openFileDialog - how to
openFileDialog - how to
I would like to use the "openFileDialog" within Primal Forms Community Edition and PowerShell. Could someone show me an example of how to associate a button to the openFileDialog pop up ? I can't drag the "openFileDialog" onto the GUI form. TIA.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
openFileDialog - how to
That dialog is not supported in the Community Edition. You will have to code that by hand. Please see here:
http://blogs.technet.com/b/heyscripting ... ber-1.aspx
http://blogs.technet.com/b/heyscripting ... ber-1.aspx
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- aaron-saic
- Posts: 2
- Last visit: Thu Feb 14, 2013 5:43 am
openFileDialog - how to
Actually this can be done, as I had looked around on google and found an answer here on the support forum somewhere...
Basically do the following:
- Add a button to your form. For the on click action:
$openfiledialog1.ShowDialog()
Here is the link to where I found it: viewtopic.php?f=18&t=4281#p23411
Basically do the following:
- Add a button to your form. For the on click action:
$openfiledialog1.ShowDialog()
Here is the link to where I found it: viewtopic.php?f=18&t=4281#p23411