Search found 6 matches

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

Re: Progressbar directory recursive

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

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 4:13 am
Forum: PowerShell GUIs
Topic: Progressbar directory recursive
Replies: 4
Views: 282

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 $progressbar1.Step =...
by GusFrings
Thu Nov 15, 2018 6:41 am
Forum: PowerShell GUIs
Topic: Powershell studio msgbox close freeze main form
Replies: 7
Views: 501

Re: Powershell studio msgbox close freeze main form

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

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 4:12 am
Forum: PowerShell GUIs
Topic: Powershell studio msgbox close freeze main form
Replies: 7
Views: 501

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 buttons or ...