Search found 1657 matches

by brittneyr
Tue Feb 20, 2024 7:40 am
Forum: PowerShell Studio
Topic: Can't Debug because AnalyzeScript fails with file not found
Replies: 2
Views: 672

Re: Can't Debug because AnalyzeScript fails with file not found

This issue was addressed in service build 5.8.236. Please update and let us know if this is still an issue for you.
by brittneyr
Fri Feb 16, 2024 7:31 am
Forum: PowerShell Studio
Topic: FormClosingEventHandler does not work
Replies: 3
Views: 786

Re: FormClosingEventHandler does not work

Based on the files provided, the event handler was not added to the form control. Did you manually add the FormClosing event handler? If you want the code of adding/removing the event handler automatically generated for you, you need to connect the event handler in the designer. This can be done by ...
by brittneyr
Thu Feb 15, 2024 3:11 pm
Forum: PowerShell Studio
Topic: Heat/FIPS error during build (HEAT0308)
Replies: 17
Views: 1426

Re: Heat/FIPS error during build (HEAT0308)

Please try service build 5.8.238 and let us know if this is still an issue for you.
by brittneyr
Thu Feb 15, 2024 7:06 am
Forum: PowerShell Studio
Topic: FormClosingEventHandler does not work
Replies: 3
Views: 786

Re: FormClosingEventHandler does not work

Please upload your file or a test file demonstrating this behavior here:
https://www.sapien.com/support/upload
by brittneyr
Mon Feb 12, 2024 7:37 am
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 4527

Re: Different computer, different from designer display

The form shown in the designer with size based on the display and set properties. This means controls will 'resize themselves' in the designer similar to when running the form on different displays.

While we can look into adding a possible workaround to this, there is no ETA on that.
by brittneyr
Mon Feb 12, 2024 7:28 am
Forum: PowerShell GUIs
Topic: Relative Element Positioning & Properties Palette
Replies: 3
Views: 1274

Re: Relative Element Positioning & Properties Palette

No, you cannot see this in the designer.
If you are dynamically setting a property, you need to preview/run the psf to see the results.
by brittneyr
Wed Feb 07, 2024 7:11 am
Forum: PowerShell Studio
Topic: "Product version has incorrect format", but format is correct.
Replies: 1
Views: 567

Re: "Product version has incorrect format", but format is correct.

Are you packaging your single-form application into an executable before creating an installer? If this is the case, can you provide a screenshot of your settings on the Version Information tab?

If this is not the case, can you copy and paste here the entire output when you attempt to build?
by brittneyr
Tue Feb 06, 2024 7:45 am
Forum: PowerShell GUIs
Topic: Action the X (Close) Button
Replies: 2
Views: 1503

Re: Action the X (Close) Button

You can prevent the form closing in the FormClosing event. You can set a boolean when you process starts and you can check it on closing: $processFinished = $false #Start your process and when it finishes, set $processFinished to true $form1_FormClosing=[System.Windows.Forms.FormClosingEventHandler]...
by brittneyr
Mon Feb 05, 2024 1:39 pm
Forum: PowerShell Studio
Topic: Manul install Webview2
Replies: 3
Views: 631

Re: Manul install Webview2

Something like the following should work with the assemblies referenced and using the function Get-ScriptDirectory: $webview = New-Object 'Microsoft.Web.WebView2.WinForms.WebView2' $webview.CreationProperties = New-Object 'Microsoft.Web.WebView2.WinForms.CoreWebView2CreationProperties' $userDataFold...