I did find this old article that seems to be what i am going through with a datagridview having many rows/tables. I only have this freezing on the tabs with lots of data/tables, ie Windows Updates will have lots of data vs the CPU tab.
viewtopic.php?t=6470
Search found 69 matches
- Tue May 30, 2017 7:10 pm
- Forum: PowerShell GUIs
- Topic: Datagridview - Tabpage freezing on TabControl
- Replies: 17
- Views: 5383
- Tue May 30, 2017 6:51 pm
- Forum: PowerShell GUIs
- Topic: Datagridview - Tabpage freezing on TabControl
- Replies: 17
- Views: 5383
Re: Datagridview - Tabpage freezing on TabControl
In regards to the issue i am asking about is in the control $buttonGUIQuery_Click={} , there is no duplication of code being used. The Scriptblock in the $jobscript is coded for when data can be or not be pulled back by a remote session and that the tables/columns match. I don't see where you pointi...
- Tue May 30, 2017 5:42 pm
- Forum: PowerShell GUIs
- Topic: Datagridview - Tabpage freezing on TabControl
- Replies: 17
- Views: 5383
Re: Datagridview - Tabpage freezing on TabControl
I can't use the debugger, as I am testing in a different domain/environment from where i have the sapien software installed.
Attaching psf
Attaching psf
- Tue May 30, 2017 1:46 pm
- Forum: PowerShell GUIs
- Topic: Datagridview - Tabpage freezing on TabControl
- Replies: 17
- Views: 5383
Re: Datagridview - Tabpage freezing on TabControl
This is my routine... 1) Computer Objects read through a loop, within the loop Add-Jobtracker is kicked off (job-named after Computer Object) 2) Within the $CompletedScript, results are returned from the $jobscript and passed into global array variables 3) A global counter is increased every time wi...
- Tue May 30, 2017 1:05 pm
- Forum: PowerShell GUIs
- Topic: Datagridview - Tabpage freezing on TabControl
- Replies: 17
- Views: 5383
Re: Datagridview - Tabpage freezing on TabControl
Example: $ComputerWinUpdates = $global:AllWindowsUpdates | Select-Object 'Computer Name', 'Description', 'Fix Comments', 'Hot Fix ID', 'Installed By', 'Installed On', ` 'Installed Date', 'KB Article', 'Name', 'Service Pack In Effect', 'Status', 'Index' | Sort 'Computer Name', 'Index' Update-DataGri...
- Tue May 30, 2017 12:51 pm
- Forum: PowerShell GUIs
- Topic: Datagridview - Tabpage freezing on TabControl
- Replies: 17
- Views: 5383
Datagridview - Tabpage freezing on TabControl
Using Jobtracker to pull data from remote computers - Working fine, not freezing GUI - Once all results are back i populate datagridviews If i click on a tab for the first time that has a datagridview with lots of data it freezes the form, after a few seconds restores and the tab revealed with the d...
- Mon May 29, 2017 10:54 pm
- Forum: PowerShell GUIs
- Topic: responsive forms
- Replies: 10
- Views: 3934
Re: responsive forms
Hello mmmoi5 , I can feel your frustration and was in your situation a couple of weeks ago. jvierra is correct to review the forums/articles in regards to the jobtracker. What can't be answered is the logic that you want to apply to the form or order of operations. This was where I was having a hard...
- Fri May 19, 2017 1:16 pm
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14330
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
What I am trying to understand is if i created a bunch of jobs for the Add-Jobtracker through a loop, how will the form stop from freezing or waiting to update the controls until all the jobs are done. If I use get-job | wait-job after my loop/added trackers, it seems i have a unresponsive form. If ...
- Fri May 19, 2017 9:28 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14330
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
Thanks jvierra, that helps a lot to understand the differences between the controls. Question: I am using the Add-tracker to go run a scriptblock which is pulling computer info remotely. If I want to pull from multiple computers should I only use one add-tracker and then in the scriptblock control t...
- Wed May 17, 2017 6:50 am
- Forum: PowerShell GUIs
- Topic: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
- Replies: 38
- Views: 14330
Re: GUI: Progress Multiple Com Objects/Progress Bar - Responsive Form
Okay sounds good, so it is manual then. Thanks