Search found 1660 matches

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: 570

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: 1531

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: 633

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...
by brittneyr
Mon Feb 05, 2024 1:17 pm
Forum: PowerShell Studio
Topic: Manul install Webview2
Replies: 3
Views: 633

Re: Manul install Webview2

Support for the webview2 control was added in 5.8.201 as you stated. There is no way to get this control in the toolbox prior to this build.

You can manually add the webview2 control via code (from the script tab), but you will not be able to add it from the designer without updating.
by brittneyr
Wed Jan 31, 2024 7:14 am
Forum: PowerShell
Topic: Trouble with embedding secured password
Replies: 1
Views: 1093

Re: Trouble with embedding secured password

Can you confirm if $SAPIENHost.GetPassword(0) is returning anything? You could check with a break point on that line or an output statement.
by brittneyr
Tue Jan 30, 2024 3:25 pm
Forum: PowerShell GUIs
Topic: ListView Gridlines and ShowGroups mutually exclusive
Replies: 1
Views: 1002

Re: ListView Gridlines and ShowGroups mutually exclusive

[Moved to PowerShell GUIs form by moderator]
by brittneyr
Tue Jan 30, 2024 3:20 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 4558

Re: Different computer, different from designer display

To clarify, are you saying you are unable to see the bottom-right corner of your form on the laptop?

If so, are you able to see more of the form if you undock panels?
by brittneyr
Thu Jan 25, 2024 2:57 pm
Forum: PowerShell Studio
Topic: Different computer, different from designer display
Replies: 16
Views: 4558

Re: Different computer, different from designer display

Similar to running a form on a different machine, the form shown in the designer with size based on the display and set properties. This means controls will 'resize themselves' in the designer on different displays.
by brittneyr
Tue Jan 23, 2024 3:37 pm
Forum: PowerShell Studio
Topic: Problem with codesigning for X64 exe
Replies: 1
Views: 18677

Re: Problem with codesigning for X64 exe

I apologize for the delayed response.
Is this still an issue for you?

We have seen this behavior before when something is blocking the signing process. Please try signing your executable from a console. This should reveal more helpful information.
by brittneyr
Tue Jan 23, 2024 3:19 pm
Forum: PowerShell Studio
Topic: Powershell Studio automatically expanding commands
Replies: 4
Views: 13647

Re: Powershell Studio automatically expanding commands

Based on my research, this may be happening from conflicting commands:
https://learn.microsoft.com/en-us/power ... -conflicts

Do you have multiple commands named Where-Object or Get-Content from different modules?