still get error because it null
ERROR: Exception setting "Item": "Exception calling "set_Item" with "2" argument(s): "Cannot set Column 'LastActiveTime' to be null. Please use DBNull instead.""
PowerShell Studio 2018 v5.5.154 Getting this error: Exception setting "Item": "Exception calling "set_Item" with "2" argument(s): "Cannot set Column 'LastActiveTime' to be null. Please use DBNull instead."" $Members = Get-CMCollectionMember -Collecti...
it works now - but this method req that you know the begining of the word you looking for. $form1_Load={ Update-ComboBox $combobox1 $cars $combobox1.AutoCompleteMode = 'SuggestAppend' $combobox1.AutoCompleteSource = 'ListItems' } if i was looking for these item in the list "Bentley TEST" &...
doesnt do anything? $form1_Load={ Update-ComboBox $combobox1 $cars $combobox1.AutoCompleteMode = 'SuggestAppend' } should it not suggest when i typing : Fo The function im looking for is something like this When i type "on" in the box it should limited the list to Gordon Murray Honda Aston...
Hi Is there a way to filter the result in the combobox to match what you type like this tried a textchanged event on the combobox but when you type in it get invertet the input? $TextChanged = $cars | Where-Object { $_.TemplateName -like "*$($combobox1.Text)*" } Update-ComboBox $combobox1 ...
this works for now, $datagridviewLogs_CellDoubleClick=[System.Windows.Forms.DataGridViewCellEventHandler]{ if ($($_.RowIndex) -gt -1) { $script:SelectedLogfile = $datagridviewLogs.SelectedRows[0].Cells[0].Value $cmtrace2 = "$env:windir\system32\CMTrace.exe" if (Test-Path $cmtrace2 -PathTyp...
I have these line to prevent file form loading as work around. $datagridviewLogs_ColumnHeaderMouseDoubleClick = [System.Windows.Forms.DataGridViewCellMouseEventHandler]{ $datagridviewLogs.CurrentCell = $null } $datagridviewLogs_ColumnHeaderMouseClick = [System.Windows.Forms.DataGridViewCellMouseEven...
when i double click on the header "lastwritetime" it open the selected row. I dont want that to happen.
the gif is to show how the form behave when i double click the header in the grid "lastwritetime"