Search found 38 matches

by gutihz
Fri Jul 31, 2015 9:33 am
Forum: PowerShell GUIs
Topic: Load GUI before starting the processes
Replies: 10
Views: 6380

Load GUI before starting the processes

Hi Everyone, I'm having a problem where I can't figure out how to load the GUI first then start all the processes that the application should be doing (without a start button). I have few things that the application does such as copies, checks registry and so forth. If I put everything under "O...
by gutihz
Wed May 06, 2015 3:40 pm
Forum: PowerShell GUIs
Topic: Array output is single string
Replies: 0
Views: 15671

Array output is single string

Hi Everyone, I have a very weird one. I have 3 different foreach loops. If the condition is not true in each one of them, it adds some names to an array. But at the end when I look at my array, it shows up a straight string. @nottrue = @() Foreach($test in $alltests) IF($Test -eq $true) { $lbl1.text...
by gutihz
Thu Apr 16, 2015 12:15 pm
Forum: PowerShell GUIs
Topic: Another GUI Timer Freezing
Replies: 4
Views: 2829

Re: Another GUI Timer Freezing

Hi, Sorry I should've been more clear. I have some batch files that are "packaged" within our company. Each batch file (ex. Adobe Reader) checks if there is an older version or new version it uninstalls first, configures some settings to match the company policy, etc. The department that w...
by gutihz
Wed Apr 15, 2015 12:12 pm
Forum: PowerShell GUIs
Topic: Another GUI Timer Freezing
Replies: 4
Views: 2829

Re: Another GUI Timer Freezing

Hi jvierra, I read and looked everywhere. Honestly I'm pulling my hair at this point. being new to it doesn't help either. Basically I need to be able to call the batch files here and just wait and update the progress bar as it goes to the next app. When I do "cmd /c" i get an error messag...
by gutihz
Thu Apr 09, 2015 3:54 pm
Forum: PowerShell GUIs
Topic: Another GUI Timer Freezing
Replies: 4
Views: 2829

Another GUI Timer Freezing

Hi Everyone, Although I'm new to this, I'm trying to build a GUI with a progress bar and a timer that simply(!) tracks of some files being installed. Although everything seems to be working, the timer freezes when the installation is in process. Once the installation is complete, the timer just bump...
by gutihz
Fri Apr 03, 2015 11:03 am
Forum: PowerShell GUIs
Topic: Counter up and kill after 60 minutes
Replies: 8
Views: 3281

Re: Counter up and kill after 60 minutes

This is exactly what I was looking for. Thank you so much. Still trying to wrap my head around all the new things such as timespan.

Thanks again!
by gutihz
Fri Apr 03, 2015 7:07 am
Forum: PowerShell GUIs
Topic: Counter up and kill after 60 minutes
Replies: 8
Views: 3281

Re: Counter up and kill after 60 minutes

Hi jvierra, That is actually one of the problem. I don't have a working script or anything close to it. I want a labeltext to show 00:00 when the form loads, and starts counting up 00:01 00:02 and so on. When the timer reaches 60 minutes, I want the form to pop-up a message with an "OK" bu...
by gutihz
Thu Apr 02, 2015 1:05 pm
Forum: PowerShell GUIs
Topic: Counter up and kill after 60 minutes
Replies: 8
Views: 3281

Counter up and kill after 60 minutes

Hi everyone, I've been pulling my hairs trying to figure this out. What I'm trying to do is do a "Time Elapsed" and kill the script if it goes over 60 minutes using a labeltext. All the examples I found are counting down but I'm looking to count up. Really appreciate if anyone can help me ...