Search found 69 matches

by angelofstealth
Mon Dec 18, 2017 10:47 pm
Forum: PowerShell GUIs
Topic: Multiple Forms - Globals.ps1/$script:/$global:
Replies: 6
Views: 2877

Re: Multiple Forms - Globals.ps1/$script:/$global:

No problem, will explain further... I declare a variable $Childitems = @() in the globals.ps1 , in the Main form i update $Childitems with values. I know $Childitems is getting updated with the values by using a show messagebox to display the results. I want to be able to click on a child form and t...
by angelofstealth
Mon Dec 18, 2017 8:48 pm
Forum: PowerShell GUIs
Topic: Multiple Forms - Globals.ps1/$script:/$global:
Replies: 6
Views: 2877

Multiple Forms - Globals.ps1/$script:/$global:

I want to be able to access a variable between the main form and child form. 1) if i declare a variable in globals.ps1 and update this variable in the main form i can return the value. If i show the child form and call the value it is empty (using show message box). 2) if i declare a global variable...
by angelofstealth
Wed Aug 16, 2017 9:03 am
Forum: PowerShell GUIs
Topic: Datagridview - DataGridViewImageColumn
Replies: 10
Views: 4813

Re: Datagridview - DataGridViewImageColumn

Sounds good, Thank you jvierra for your help.
by angelofstealth
Wed Aug 16, 2017 8:56 am
Forum: PowerShell GUIs
Topic: Datagridview - DataGridViewImageColumn
Replies: 10
Views: 4813

Re: Datagridview - DataGridViewImageColumn

It does work when i don't set the datasource to $null. The clear was to make sure that the data being loaded was from current and not was there.
by angelofstealth
Wed Aug 16, 2017 8:41 am
Forum: PowerShell GUIs
Topic: Datagridview - DataGridViewImageColumn
Replies: 10
Views: 4813

Re: Datagridview - DataGridViewImageColumn

Within the routine/job tracker it connects to the nitro load balancer api and pulls the data down. So when the tabcontrol/tabpage is clicked i want it to pull down the current information and not from minutes ago or first time it was pulled. Can a column be created as [System.Windows.Forms.DataGridV...
by angelofstealth
Wed Aug 16, 2017 8:19 am
Forum: PowerShell GUIs
Topic: Datagridview - DataGridViewImageColumn
Replies: 10
Views: 4813

Re: Datagridview - DataGridViewImageColumn

Np, will explain a bit more.... I have the formatting set in the Misc/Columns/(Collection), created table names. I have a tabcontrol when clicked loads the below routine. It works the first time with no issues in regards to the formatting. If I click another tab and come back to that tab it loads th...
by angelofstealth
Wed Aug 16, 2017 7:59 am
Forum: PowerShell GUIs
Topic: Datagridview - DataGridViewImageColumn
Replies: 10
Views: 4813

Datagridview - DataGridViewImageColumn

Looking for assistance on how to create/code the datagridview columns design Column Type. I know how to manually set it in the Misc/Columns/(Collection) area within Sapien PowerShell Studio. I am thinking i have to reference my datagridview/column to column type [System.Windows.Forms.DataGridViewIma...
by angelofstealth
Tue May 30, 2017 8:43 pm
Forum: PowerShell GUIs
Topic: Datagridview - Tabpage freezing on TabControl
Replies: 17
Views: 5387

Re: Datagridview - Tabpage freezing on TabControl

Windows updates are a small table by all standards.... WRONG! [/b][/u] FYI, each computer/server can have over 200 listings pending on the operating system patch cycle/deployed operating system. So 200 listings times 5 computers will put you at a 1000 or more. Which i was pulling more than 5. So yes...
by angelofstealth
Tue May 30, 2017 7:34 pm
Forum: PowerShell GUIs
Topic: Datagridview - Tabpage freezing on TabControl
Replies: 17
Views: 5387

Re: Datagridview - Tabpage freezing on TabControl

Wasn't asking for private consulting, believe i did ask a question. But solved on my own using the company forums. Already answered the question why i couldn't use the debugger, so looks like my comments in regards to that was missed. No offense i really wonder if you are in wrong line of work with ...
by angelofstealth
Tue May 30, 2017 7:25 pm
Forum: PowerShell GUIs
Topic: Datagridview - Tabpage freezing on TabControl
Replies: 17
Views: 5387

Re: Datagridview - Tabpage freezing on TabControl

This article solved my problem by setting the datagridviews, no more freezing.

from:
AutoSizeColumnsMode: AllCells
AutoSizeRowsMode: AllCells

To:
AutoSizeColumnsMode: DisplayedCells
AutoSizeRowsMode: DisplayedCells