Hi there,
There has been a thread about something similar but that one is closed.
My situation is as follows, I've made a form with several buttons to select a folder. Up till today everything worked fine. I used the debugger often to solve bugs as usual.
But since today, when I'm in the debugger and I press a button that should execute $folderbrowsermoderndialog1.ShowDialog() the form hangs.
I also created a new form with only one button and it gives the same results. One of the solutions someone provided was to enable STA but it was from the beginning.
When I run the script without the debugger, everything works fine
I had an old installation of SPS2018 on my laptop, so I tried it there and everything worked fine. Then I updated it to the newest version and that killed it... Same results as on my main PC. And I have tried turning my computer off and on again
My main pc has the following version:
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.157
OS: Windows 10 Education (64 Bit)
Build: v10.0.17763.0
My laptop has:
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.157
OS: Windows 10 Education (64 Bit)
Build: v10.0.14393.0
Is this version related?
Folderbrowsermoderndialog makes program crash in debug
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.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Folderbrowsermoderndialog makes program crash in debug
[Moved to correct forum by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Folderbrowsermoderndialog makes program crash in debug
Try downloading this: https://sapien.s3.amazonaws.com/downloads/Support files/ScriptDebugger 2019.zip
and replacing the files in C:\Program Files (x86)\Common Files\SAPIEN Debugger 2019
Please make a backup of the current files before doing so.
and replacing the files in C:\Program Files (x86)\Common Files\SAPIEN Debugger 2019
Please make a backup of the current files before doing so.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Folderbrowsermoderndialog makes program crash in debug
Well, it sure does like a version problem.
I've installed an bit older version and now everything is working fine!
The version I'm running now is:
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.156
OS: Windows 10 Education (64 Bit)
Build: v10.0.17763.0
I've installed an bit older version and now everything is working fine!
The version I'm running now is:
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.156
OS: Windows 10 Education (64 Bit)
Build: v10.0.17763.0
Re: Folderbrowsermoderndialog makes program crash in debug
I tried this on my laptop and it worked excellent!Alexander Riedel wrote: ↑Tue Jan 29, 2019 7:39 am Try downloading this: https://sapien.s3.amazonaws.com/downloads/Support files/ScriptDebugger 2019.zip
and replacing the files in C:\Program Files (x86)\Common Files\SAPIEN Debugger 2019
Please make a backup of the current files before doing so.
Tomorrow I will update my main computer with the newest version of SPS and replace the debugger!
Thnx!
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Folderbrowsermoderndialog makes program crash in debug
This will of course be included in the next service build.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Folderbrowsermoderndialog makes program crash in debug
We released the v5.6.158 service build that resolves this issue:
https://www.sapien.com/blog/2019/02/05/ ... -v5-6-158/
https://www.sapien.com/blog/2019/02/05/ ... -v5-6-158/
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.