FolderBrowserDialog crashing application
Posted: Thu Oct 26, 2017 10:56 am
Hi Everyone,
In my form I'm having the user select a folder and I get the folder path. When I run my application within the Sapien everything works. But when I build the app and run the executable on another computer everything works except the folder browser dialog. When I click on the button to open the folder browser dialog the application goes in to "not responding" mode.
I tried both "FolderBrowserDialog" and "FolderBrowserModernDialog" with same result.
I tried changing the build settings from V3 to V5 and V2with same result.
here is how I call it
Does anyone know if this is a bug or something?
Thanks in advance.
PowerShell Studio 2017 5.4.145
Version of product: 64
Operating system: Windows 7
OS: 64 bit
In my form I'm having the user select a folder and I get the folder path. When I run my application within the Sapien everything works. But when I build the app and run the executable on another computer everything works except the folder browser dialog. When I click on the button to open the folder browser dialog the application goes in to "not responding" mode.
I tried both "FolderBrowserDialog" and "FolderBrowserModernDialog" with same result.
I tried changing the build settings from V3 to V5 and V2with same result.
here is how I call it
Code: Select all
$btnopenfb_Click={
if ([Void]$fb.ShowDialog() -eq 'OK')
{
$txtboxPaths.AppendText($fb.SelectedPath)
$txtboxPaths.AppendText("`n")
}
}
Thanks in advance.
PowerShell Studio 2017 5.4.145
Version of product: 64
Operating system: Windows 7
OS: 64 bit