Search found 6 matches

by GusFrings
Thu Dec 06, 2018 5:57 am
Forum: PowerShell GUIs
Topic: Progressbar directory recursive
Replies: 4
Views: 2522

Re: Progressbar directory recursive

Ok thanks for your help
by GusFrings
Thu Dec 06, 2018 4:23 am
Forum: PowerShell GUIs
Topic: Progressbar directory recursive
Replies: 4
Views: 2522

Re: Progressbar directory recursive

I read what you indicated to me but I can not apply it to my case.
Could you tell me how to do it?
Thanks for your help.
by GusFrings
Thu Dec 06, 2018 3:13 am
Forum: PowerShell GUIs
Topic: Progressbar directory recursive
Replies: 4
Views: 2522

Progressbar directory recursive

I'm using this code to show a progressbar for copying files. $selectedPath = "c:\test" $files = Get-ChildItem $selectedPath -Filter *.txt if ($files -eq $null -or $files.Count -eq 0) { #No files to backup return } #Initialize the Progress Bar $progressbar1.Maximum = $files.Count $progressb...
by GusFrings
Thu Nov 15, 2018 5:41 am
Forum: PowerShell GUIs
Topic: Powershell studio msgbox close freeze main form
Replies: 7
Views: 2152

Re: Powershell studio msgbox close freeze main form

Thank you for your help!
by GusFrings
Thu Nov 15, 2018 4:28 am
Forum: PowerShell GUIs
Topic: Powershell studio msgbox close freeze main form
Replies: 7
Views: 2152

Re: Powershell studio msgbox close freeze main form

My code was generatedd from the toolbox control sets. I tried to use your code but the behavior has not changed, so I get this error ERROR: + $buttonCancelProcess.Enabled = $false ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: + CategoryInfo : InvalidOperation: (:) [], RuntimeException ERROR:...
by GusFrings
Thu Nov 15, 2018 3:12 am
Forum: PowerShell GUIs
Topic: Powershell studio msgbox close freeze main form
Replies: 7
Views: 2152

Powershell studio msgbox close freeze main form

Product, version and build: Powershell studio 2018 I create a form with a progress bar control set. At the end I added an info msgbox. Everything seems to work well, but I noticed that after I close the msgbox the main form remains "freezed" for a few seconds and you can not click on the b...