don't worry
this is the result near the solution but not complete: only the second pc is colored green o red, take a look about VM8
Search found 110 matches
- Sat Apr 15, 2017 4:18 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
- Sat Apr 15, 2017 4:02 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
This is my listview2 in attachment:
- Sat Apr 15, 2017 3:53 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
When i try yout code this is the error: New-Object : Impossibile trovare un overload per "ListViewItem" e il numero di argomenti: "4". In C:\Users\Administrator\Desktop\FORM USER-COMPUTER MANAGER TEST BL 3.ps1:589 car:13 + $item1 = New-Object System.Windows.Forms.ListViewItem($_....
- Sat Apr 15, 2017 3:34 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
These are the strings:
- Sat Apr 15, 2017 3:30 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
Ok, but if i have 2 string base 64 for the images, how can i merge them into a single imagelist ?
- Sat Apr 15, 2017 3:16 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
The problem is that i have the second image inside another file, not in the same image list in base64
- Sat Apr 15, 2017 3:12 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
Doesn't work, i read the article, but if i use your code the icon remain the same and doesn't change, any idea ?
- Sat Apr 15, 2017 2:47 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
This is the function called from a button that make the check, my problem is to change icon when Bitlocker is ON cls function STATUS { $test = $null $SingleOU = 'OU=DOMUSERS,DC=DOM,DC=LOCAL' Get-ADComputer -Filter * -SearchBase $SingleOU | ForEach-Object { $test = Test-Connection -CN $_.dnshostname ...
- Sat Apr 15, 2017 2:40 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Re: Listview check Service status and change icon
Hi ! and thanks for replay
I already studied that guide, my problem is to replace an image on the occurrence of a condition.
I already studied that guide, my problem is to replace an image on the occurrence of a condition.
- Sat Apr 15, 2017 2:28 am
- Forum: PowerShell GUIs
- Topic: Listview check Service status and change icon
- Replies: 27
- Views: 8116
Listview check Service status and change icon
Hy guys, is it possible to change listview icon if a windows service is up or down ?
I' ave a default icon, i want to change it when a windows service is up or down
like in the attached example
I' ave a default icon, i want to change it when a windows service is up or down
like in the attached example