YOU ARE A FREAKING GENIUS!!!!
I've always wondered how do you know all this s..t. I truly admire you!
Search found 38 matches
- Thu Oct 26, 2017 11:06 am
- Forum: PowerShell GUIs
- Topic: FolderBrowserDialog crashing application
- Replies: 3
- Views: 2151
- Thu Oct 26, 2017 10:56 am
- Forum: PowerShell GUIs
- Topic: FolderBrowserDialog crashing application
- Replies: 3
- Views: 2151
FolderBrowserDialog crashing application
Hi Everyone, In my form I'm having the user select a folder and I get the folder path. When I run my application within the Sapien everything works. But when I build the app and run the executable on another computer everything works except the folder browser dialog. When I click on the button to op...
- Mon Sep 25, 2017 5:54 am
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
Thank you so much jvierra. I'm going to take a look at all the examples, blogs you provided. I'm sure I'll have some questions along the way.
I really appreciate your help and how fast you respond. Thanks again.
I really appreciate your help and how fast you respond. Thanks again.
- Sat Sep 23, 2017 12:33 pm
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
I didn't think I had to start the timer since it is triggered inside the "Add-JobTracker" function.
mine is a psf. I attached the file.
Code: Select all
#Start the Timer
if (-not $timerJobTracker.Enabled)
{
$timerJobTracker.Start()
}
- Sat Sep 23, 2017 7:13 am
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
Obviously I'm new to this. I read the blog again, looked at the examples given and couldn't figure it out. As I mentioned I do have multiple jobs that I want to copy from and to. I have a foreach loop that I pass my scriptblock with my arguments. Basically the same code in my previous post. Do I mak...
- Sat Sep 23, 2017 3:07 am
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
Thanks for the replies and suggestions. Unfortunately neither of them worked.
I added
and also in the CompletedScript part and nothing shows up. I wonder if there is something wrong in the function?
I added
Code: Select all
[void][System.Windows.Forms.MessageBox]::Show("update part")
and also in the CompletedScript part and nothing shows up. I wonder if there is something wrong in the function?
- Fri Sep 22, 2017 4:07 pm
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
So here is what I got so far... I have a listview. So the folder gets copied over, but I can't update the subitem to either "Success" or "Error". Any ideas what could be causing this issue? Thanks in advance! $Test = $listview.Items.Add("Copying Folder") if (Test-Path &...
- Wed Sep 20, 2017 4:23 pm
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
I get that. Thanks!
but that didn't update progressbar correctly. after the first script, it just completes as 100% as I mentioned in my initial post.
but that didn't update progressbar correctly. after the first script, it just completes as 100% as I mentioned in my initial post.
- Wed Sep 20, 2017 4:04 pm
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
Hi jvierra,
Can you give me an example on how to add multiple jobs? I'm looking at the functions and don't see how that can be accomplished.
in a very simple example I tried doing :
foreach($i in $alljobs)
{
Add-jobtracker -scriptblock {$i}
}
which didn't work.
Can you give me an example on how to add multiple jobs? I'm looking at the functions and don't see how that can be accomplished.
in a very simple example I tried doing :
foreach($i in $alljobs)
{
Add-jobtracker -scriptblock {$i}
}
which didn't work.
- Wed Sep 20, 2017 3:28 pm
- Forum: PowerShell GUIs
- Topic: Help with the responsive form
- Replies: 20
- Views: 7617
Re: Help with the responsive form
I have about 20 scripts that copies different things. Some are files as little as 10kb but some are as big as 10gb. What I'm trying to do is run everything at once without freezing the GUI but update the progress bar step as the small files complete. I've been looking around, saw lots of examples bu...