Search found 14441 matches

by jvierra
Tue Jun 30, 2020 2:22 pm
Forum: PowerShell GUIs
Topic: Job Tracker Help
Replies: 5
Views: 177

Re: Job Tracker Help

james.bernard wrote:
Tue Jun 30, 2020 12:27 pm
Thanks where can I find the Job Tracker sample?
Just create a new form and add the custom control set named "Form - Job Tracker". Run it and investigate how it works.
by jvierra
Tue Jun 30, 2020 2:19 pm
Forum: PowerShell GUIs
Topic: Job Tracker Help
Replies: 5
Views: 177

Re: Job Tracker Help

What code. You just posted "#other code"
by jvierra
Tue Jun 30, 2020 12:13 pm
Forum: PowerShell GUIs
Topic: Job Tracker Help
Replies: 5
Views: 177

Re: Job Tracker Help

We don't customize the functions. Just use the functions and supply the scriptblocks.

Load the JobTracker sample and run it to see how to use it.

Look in the InfoCenter for articles showing how the JobTracker works.
by jvierra
Tue Jun 30, 2020 2:28 am
Forum: PowerShell GUIs
Topic: ExitCode in compiled GUI
Replies: 1
Views: 74

Re: ExitCode in compiled GUI

Should be:

$global:ExitCode = 88
by jvierra
Wed Jun 24, 2020 9:24 pm
Forum: PowerShell GUIs
Topic: Datagridview multiselect and shift click
Replies: 7
Views: 92

Re: Datagridview multiselect and shift click

I had a bit of time to check this out. The event is called "RowStateChanged". This is the aggregate event sent for each row in a batch selection or when any row is selected or deselected.
by jvierra
Wed Jun 24, 2020 6:03 pm
Forum: PowerShell GUIs
Topic: Datagridview multiselect and shift click
Replies: 7
Views: 92

Re: Datagridview multiselect and shift click

I should think by now that you can parse through the events as well as I can. If you fail by later - late tonight - I will go looking for you.
by jvierra
Wed Jun 24, 2020 2:54 pm
Forum: PowerShell GUIs
Topic: Datagridview multiselect and shift click
Replies: 7
Views: 92

Re: Datagridview multiselect and shift click

Detect selection complete event and set the checkboxes programmatically. There is no auto-check like in a checked listbox.
by jvierra
Mon Jun 22, 2020 4:32 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 1363

Re: Timer Event Help

You can create animated GIFs with Net classes but it is a bit tricky. Easier to do with a free GIF animator. Ver useful for making annunciators and other icons and animations that help to present information or guidance.
by jvierra
Fri Jun 19, 2020 2:27 pm
Forum: PowerShell
Topic: Creating MS Teams Shortcut
Replies: 4
Views: 486

Re: Creating MS Teams Shortcut

The wizard hides all things difficult for human masters. You need to think like a computer to understand these secrets of the electron. The following will confuse you a bit more but try it anyway. $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut('C:\Users\user\Tes...
by jvierra
Fri Jun 19, 2020 1:03 pm
Forum: PowerShell
Topic: Speed up array searches?
Replies: 3
Views: 492

Re: Speed up array searches?

Here is an example of how to query into a table object and how to access that object correctly. I just ran this against a table which returns 13000 rows. It is instantaneous. function Get-SQLTable{ param( $Sql, $Database = 'master', $Server ) Try{ $conn = [system.Data.SqlClient.SqlConnection]::new("...