Search found 55 matches

by ClipperXTP
Wed May 26, 2021 12:26 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Windows Form Application and Powershell.exe
Replies: 5
Views: 3605

Re: PowerShell Studio Windows Form Application and Powershell.exe

Thank you. Yes I am a licensed user of PowerShell Studio 2019.
by ClipperXTP
Mon May 24, 2021 10:16 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Windows Form Application and Powershell.exe
Replies: 5
Views: 3605

Re: PowerShell Studio Windows Form Application and Powershell.exe

Hi Alexander

thanks for your reply. Which is the correct forum? I chose chose PowerShell Studio GUIs as it is a Windows Form related query.

thanks
by ClipperXTP
Mon May 24, 2021 9:05 am
Forum: PowerShell GUIs
Topic: PowerShell Studio Windows Form Application and Powershell.exe
Replies: 5
Views: 3605

PowerShell Studio Windows Form Application and Powershell.exe

Can anyone clarify how a compiled Windows Form Executable actually runs under the hood with PowerShell Studio? I don't see it launching powershell.exe when it launches but I can see all the powershell code it runs in the Windows PowerShell logs in the event log. Is it emulating powershell or how doe...
by ClipperXTP
Thu May 20, 2021 7:42 am
Forum: PowerShell GUIs
Topic: [System.Windows.Forms.Application]::DoEvents()
Replies: 2
Views: 3001

[System.Windows.Forms.Application]::DoEvents()

Hi Your thoughts on [System.Windows.Forms.Application]::DoEvents() and the below article? https://www.sapien.com/blog/2011/07/15/primalforms-2011-creating-responsive-loops/ It is a very old article and there is a lot of bad press about using [System.Windows.Forms.Application]::DoEvents() My form and...
by ClipperXTP
Fri Apr 16, 2021 8:55 am
Forum: PowerShell GUIs
Topic: Datagridview Filtering and operators in column name
Replies: 9
Views: 2592

Re: Datagridview Filtering and operators in column name

Many thanks for your help, much appreciated.
by ClipperXTP
Wed Apr 14, 2021 11:33 pm
Forum: PowerShell GUIs
Topic: Datagridview Filtering and operators in column name
Replies: 9
Views: 2592

Re: Datagridview Filtering and operators in column name

Hi I appreciate the follow up. My agents do a search against a list of IDs. They want to see if the IDs are a member of an OU. They copy the name of the OU into a search box on the form and click a search button. When they click search, the datagridview returns a list of results. The column name is ...
by ClipperXTP
Wed Apr 14, 2021 4:03 am
Forum: PowerShell GUIs
Topic: Datagridview Filtering and operators in column name
Replies: 9
Views: 2592

Re: Datagridview Filtering and operators in column name

Hi - thanks for your reply. I have a textbox I use to filter the datagridview - FOREACH ($Column in $datagridview.Columns) { $RowFilter += "{0} Like '%{1}%' OR " -f $($Column.headertext), $textboxfilter.text } $datagridview.DataSource.DefaultView.RowFilter = $RowFilter I am using data for a column n...
by ClipperXTP
Wed Apr 14, 2021 12:12 am
Forum: PowerShell GUIs
Topic: Datagridview Filtering and operators in column name
Replies: 9
Views: 2592

Re: Datagridview Filtering and operators in column name

Hi Jvierra. Thanks for your reply. I haven't been able to get your suggestion to work. My code goes li $Search = $($textboxSearch.text) $array += [PSCustomObject]@{ ID = $($ID.toupper()) $($Search) = "Not Member" } $DT = ConvertTo-DataTable -InputObject $array Update-DataGridView -DataGridView $data...
by ClipperXTP
Tue Apr 13, 2021 6:15 am
Forum: PowerShell GUIs
Topic: Datagridview Filtering and operators in column name
Replies: 9
Views: 2592

Datagridview Filtering and operators in column name

I have a datagridview that is updated by various datatables in my Windows Forms Application. The datagridview is then filtered with a filter textbox. The column names are search terms that are entered in a text box and are strings. The are added to a pscustomobject which then updates and array which...