Search found 7699 matches

by Alexander Riedel
Thu Jun 17, 2021 4:10 pm
Forum: PowerShell GUIs
Topic: Run code after gui is loaded
Replies: 7
Views: 67

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

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

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

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

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...
by Alexander Riedel
Thu Jun 10, 2021 7:48 am
Forum: PowerShell ModuleManager
Topic: NuGet failed to install
Replies: 16
Views: 1546

Re: NuGet failed to install

I am going to jump in here saying something that might be unpopular :D
OneDrive is one of the first things I disable on a new machine, because is seems to never work. That is just my experience and opinion, so YMMV.
I would try to turn it off and see what happens.
by Alexander Riedel
Wed Jun 02, 2021 7:18 am
Forum: PowerShell GUIs
Topic: Robocopy in PS 2019
Replies: 4
Views: 2502

Re: Robocopy in PS 2019

The usually suspects when something is 'not working' are - Permissions. Is the ISE running elevated but you are not running the script elevated from PowerShell Studio - Runspace contamination. The ISE, as well as the console, keep variables around until you exit. In PowerShell Studio a script always...
by Alexander Riedel
Tue Jun 01, 2021 10:45 am
Forum: PowerShell GUIs
Topic: Robocopy in PS 2019
Replies: 4
Views: 2502

Re: Robocopy in PS 2019

Define "not work". If you get an error message, please post the message.