Search found 133 matches
- Fri Sep 16, 2022 6:04 am
- Forum: PowerShell GUIs
- Topic: open explorer with path
- Replies: 8
- Views: 1198
open explorer with path
hi all, here's the situation: I'm writing a GUI to help the service desk in their daily tasks. For that purpose, I need to open an explorer window on a given path on a target computer. If I use invoke-item on the path, the user needs to enter his/her credentials each time they access a new computer,...
- Wed Sep 07, 2022 6:53 am
- Forum: PowerShell GUIs
- Topic: get list of a specific control in my GUI
- Replies: 1
- Views: 662
get list of a specific control in my GUI
hi all, I have multiple groupBoxes that are visible or not depending on some selection done in the GUI. Instead of coding each groupBox and set them as visible or not, i was wondering if there was a way to get all those groupBoxes, like in (pseudo-code to illustrate) foreach ($group in $form.groupBo...
- Tue Jun 28, 2022 6:49 am
- Forum: PowerShell GUIs
- Topic: load table to datagrid column size
- Replies: 1
- Views: 1352
load table to datagrid column size
Good morning, I'm building a table with 3 columns, add stuff into it, all good. Later, I created a datagridview, bound the table to it with $datagrid.datasource = $table Looking at the datagridview, I see all the correct data. But the columns are not wide enough to display all the text, only partial...
- Tue Feb 22, 2022 8:17 am
- Forum: PowerShell
- Topic: datagridview & table
- Replies: 2
- Views: 1785
datagridview & table
hi all, I've created a GUI where I display a DataGridView bound to a table. I load all the desired values into the Table and successfully display it in my DGV. The data is the computers from AD with their location. Now, I'm trying to display some values depending on a criteria. For example, I'd like...
- Tue Jan 11, 2022 4:52 am
- Forum: PowerShell GUIs
- Topic: datagrid checkbox column
- Replies: 1
- Views: 2325
datagrid checkbox column
hi all,
I've created a GUI with a Datagridview that has 2 columns: 1 checkbox & 1 text
When I check if the checkbox is checked, it always returns false. I have no idea what I'm doing wrong.
I'm using this: $datagridUsers.Rows[$i].Cells[0].Value
please help. thanks!
I've created a GUI with a Datagridview that has 2 columns: 1 checkbox & 1 text
When I check if the checkbox is checked, it always returns false. I have no idea what I'm doing wrong.
I'm using this: $datagridUsers.Rows[$i].Cells[0].Value
please help. thanks!
- Thu Nov 04, 2021 11:06 am
- Forum: PowerShell Studio
- Topic: #TODO
- Replies: 2
- Views: 3674
Re: #TODO
yes, that's exactly what I need.
i remember now.
thanks
i remember now.
thanks
- Thu Nov 04, 2021 10:21 am
- Forum: PowerShell Studio
- Topic: #TODO
- Replies: 2
- Views: 3674
#TODO
To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product: PowerShell Studio 2021 (64 Bit) Build...
- Tue Jul 06, 2021 4:41 am
- Forum: PowerShell GUIs
- Topic: show jobs have completed
- Replies: 2
- Views: 4333
Re: show jobs have completed
There are stuff in my GUI that take time to process and the GUI goes "not responding". To avoid that, I'd like to trigger these actions with a job instead.
so you say that i should add a timer to my GUI? I'll give that a try.
thanks!
so you say that i should add a timer to my GUI? I'll give that a try.
thanks!
- Mon Jul 05, 2021 11:33 am
- Forum: PowerShell GUIs
- Topic: DataGridView Question
- Replies: 1
- Views: 3476
Re: DataGridView Question
hi, I was able to make this by using a Textbox control and the following code; $textboxFilter_TextChanged={ for ($i = 0; $i -lt $datagrid.RowCount; $i++) { if ($datagrid.Rows[$i].Cells[0].value -notlike "*$($textboxFilter.text)*") { $datagrid.Rows[$i].Visible = $false } else { $datagrid.Ro...
- Mon Jul 05, 2021 11:15 am
- Forum: PowerShell GUIs
- Topic: show jobs have completed
- Replies: 2
- Views: 4333
show jobs have completed
hi all, I have a form that the Service Desk is using where I would run some stuff in the background with jobs. When a job is completed, I'd like to update a control saying that the job is ready to send data. I have no idea how to write my function so that, whenever a job is ready, a control in the f...