Fair enough mate, i got it working in the end anyway by adding a comma to the end of the result if a condition was met. Any item in listbox containing the comma would be coloured green and everything else a lightcoral colour. Not the tidiest way i guess but i am happy it working. It looks like...
Mate I didn't ask you to write the code for me from start to finish. I was after pointers/snippets of code perhaps to give me an idea to expand upon. seeing this is a vb.net forum.
I will take on your philosophy and will work something out.
The part that is confusing me is the vb.net code to make that happen.
In the program the user is able to either select multiple items in another listbox have them processed and the results added to the listbox i want the backcolour on. They are also able to select items one by one to add the...
Thanks for the reply, i am a bit of a novice when it comes to VB.net in some areas, would you be able to provide an example possibly how i could select the colours and use the current listbox index in the Drawitem handler. I'm assuming i need to have an increment to increase the index count per...
Hi,
I have written a VB.NET program which successfully sets the backcolor to either LightGreen or LightCoral for a Listbox item which is reliant on a condition statement.
The issue i am having is say that the first item to be added to the listbox meets the LightGreen criteria it gets added...
Hi All,
I don't know if anyone can assist but i have a weird issue where i am executing PowerShell code from Vb.NET via a Runspace to return the list of security groups we have setup in our Exchange servers that grant full access to a specified shared mailbox.
Basically when i specify the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.