Search found 7702 matches

by Alexander Riedel
Thu Jun 24, 2021 11:51 am
Forum: PowerShell Studio
Topic: Problems with building any files\forms to exe after upgrade to 5.8.191
Replies: 2
Views: 43

Re: Problems with building any files\forms to exe after upgrade to 5.8.191

Error code 87 mean incorrect parameter, which of course is utterly unhelpful. Most of the time it means an API call failed because the file is not existing, blocked, in use or the user has insufficient rights. Check if that error affects all packaging or just that one. Check if you are by any chance...
by Alexander Riedel
Thu Jun 24, 2021 7:03 am
Forum: PowerShell
Topic: while loop with or statement
Replies: 2
Views: 35

Re: while loop with or statement

[Topic moved by moderator. Please always post in the forum best suited for your question]
by Alexander Riedel
Fri Jun 18, 2021 8:49 am
Forum: PowerShell GUIs
Topic: capture cmd output and display in textbox
Replies: 2
Views: 361

Re: capture cmd output and display in textbox

Looks like you are missing the Out-String
This might help:

https://jackgruber.github.io/2018-05-11 ... ss-output/
by Alexander Riedel
Thu Jun 17, 2021 4:10 pm
Forum: PowerShell GUIs
Topic: Run code after gui is loaded
Replies: 7
Views: 482

Re: Run code after gui is loaded

The product purchase includes product support. It does not mean we will be writing the code for you.
Kind of like asking Microsoft do write your essay because you have an Office license :D

Go read the articles, they don't bite and it feels good to accomplish something.
by Alexander Riedel
Thu Jun 17, 2021 2:46 pm
Forum: PowerShell GUIs
Topic: Run code after gui is loaded
Replies: 7
Views: 482

Re: Run code after gui is loaded

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.shown?view=net-5.0 That would be the Form.Shown event. The Microsoft website https://docs.microsoft.com/en-us/dotnet/desktop/winforms/order-of-events-in-windows-forms?view=netframeworkdesktop-4.8 has a brief explanation and order ...
by Alexander Riedel
Tue Jun 15, 2021 8:33 am
Forum: PowerShell Studio
Topic: Script Signing in Packager isn't working but reports no errors.
Replies: 3
Views: 1207

Re: Script Signing in Packager isn't working but reports no errors.

It seems there is an issue with that particular time stamp server.
I have verified that with the time stamp server you specify, no signature is applied with SAPIEN's signature.
Using http://timestamp.globalsign.com/scripts ... ature=sha2 correctly applies the signature and timestamps it.
by Alexander Riedel
Fri Jun 11, 2021 3:40 pm
Forum: PowerShell ModuleManager
Topic: NuGet failed to install
Replies: 16
Views: 2926

Re: NuGet failed to install

I have been going over this post again from the beginning. Please note that this is all just guesswork on our part because obviously we cannot access your machine. So, I hope any of the following helps and is not adding to your frustration. Generally 99% of all "this does not work" problems boil dow...
by Alexander Riedel
Thu Jun 10, 2021 9:26 am
Forum: PowerShell GUIs
Topic: textbox appendtext
Replies: 3
Views: 984

Re: textbox appendtext

PowerShell is not case sensitive. So $lastname is the same as $LastName $lastname = $LastName.text So this statement assigns the text in the $LastName object to the object itself. That'll screw things up royally. I would recommend to name things a little differently. I name controls with a 'Ctl' suf...