Search found 107 matches

by StupidSexyFlanders
Thu Aug 02, 2012 11:39 am
Forum: Windows PowerShell
Topic: Animated images other than the spinning circle?
Replies: 3
Views: 1316

Animated images other than the spinning circle?

The little spinning 'wait animation' used in, among other things, the "Run Process" control set is nice. However, I would love to use other types of images from time to time (e.g. clock image). Are such things available? Or does one have to make their own?
by StupidSexyFlanders
Thu Aug 02, 2012 9:35 am
Forum: Windows PowerShell
Topic: Maintain visual style for button
Replies: 6
Views: 1490

Maintain visual style for button

I need to change a button from its inherited color to something else. That's easy enough to do, but it seems to also change the default visual style (i.e. two-tone) to a single color button. I've poked around and read a few things about resetting the UseVisualStyleBackColor property before setting t...
by StupidSexyFlanders
Thu Aug 02, 2012 9:35 am
Forum: Windows PowerShell
Topic: Maintain visual style for button
Replies: 6
Views: 1490

Maintain visual style for button

I need to change a button from its inherited color to something else. That's easy enough to do, but it seems to also change the default visual style (i.e. two-tone) to a single color button. I've poked around and read a few things about resetting the UseVisualStyleBackColor property before setting t...
by StupidSexyFlanders
Wed Jul 25, 2012 5:09 am
Forum: Windows PowerShell
Topic: Forcing a form to close before process completes
Replies: 4
Views: 981

Forcing a form to close before process completes

The progress bar isn't associated with the timer. The progress bar tracks the main process. Once that's done, the progress bar resets to a value of 0 and the timer starts. When it reaches 00, the main process starts again. This is all working fine. What I need to be able to do is abort the script wh...
by StupidSexyFlanders
Tue Jul 24, 2012 9:26 am
Forum: Windows PowerShell
Topic: Forcing a form to close before process completes
Replies: 4
Views: 981

Forcing a form to close before process completes

I have built a form in PSS using the 'Process Tracker' control set. I have set the process to run, wait for 60 seconds, and then start over. The entire things works great. However, the 'stop process' button only seems to work while the process is actually running -- not during the 60 second wait tim...
by StupidSexyFlanders
Tue Jul 24, 2012 9:26 am
Forum: Windows PowerShell
Topic: Forcing a form to close before process completes
Replies: 4
Views: 981

Forcing a form to close before process completes

I have built a form in PSS using the 'Process Tracker' control set. I have set the process to run, wait for 60 seconds, and then start over. The entire things works great. However, the 'stop process' button only seems to work while the process is actually running -- not during the 60 second wait tim...
by StupidSexyFlanders
Mon Jul 09, 2012 9:23 am
Forum: PowerShell Studio
Topic: Setting form object properties via a forloop
Replies: 6
Views: 2193

Setting form object properties via a forloop

That appeared to be the problem. Working like a champ now.
Another rookie mistake FTW!

Thanks!

I will take this type of thing to the other forum in the future. :)mbaker2012-07-09 16:24:03
by StupidSexyFlanders
Mon Jul 09, 2012 8:38 am
Forum: PowerShell Studio
Topic: Setting form object properties via a forloop
Replies: 6
Views: 2193

Setting form object properties via a forloop

Really? I thought that only applied to single-quotes. In any regard, still no dice. I changed my code to read this way: $names = $fee,$fii,$foe,$fum $fee = New-Object 'System.Windows.Forms.Label' $fii = New-Object 'System.Windows.Forms.Label' (and so on...) for($n=0;$n -lt $names.count;$n++) { if($s...
by StupidSexyFlanders
Mon Jul 09, 2012 7:44 am
Forum: PowerShell Studio
Topic: Setting form object properties via a forloop
Replies: 6
Views: 2193

Setting form object properties via a forloop

But $fee equals new-object. When I go through the loop, calling $fee, won't it just try to create another new object and throw an error? I am going to try it and see....
by StupidSexyFlanders
Mon Jul 09, 2012 7:18 am
Forum: PowerShell Studio
Topic: Setting form object properties via a forloop
Replies: 6
Views: 2193

Setting form object properties via a forloop

Not sure if my logic is wrong, or if this is even the proper way to do this. In any regard, it's not working... I have an array like this: $names = "$fee","$fii","$foe","$fum" Then, I create a series of form objects (e.g. labels) with the same names: $fee = New-Object 'System.Windows.Forms.Label' $f...