Search results

  1. S

    Change Backcolor Of Listbox Item and keep this Color When Another Item is Added

    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...
  2. S

    Change Backcolor Of Listbox Item and keep this Color When Another Item is Added

    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.
  3. S

    Change Backcolor Of Listbox Item and keep this Color When Another Item is Added

    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...
  4. S

    Change Backcolor Of Listbox Item and keep this Color When Another Item is Added

    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...
  5. S

    Change Backcolor Of Listbox Item and keep this Color When Another Item is Added

    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...
  6. S

    Unable to Retrieve String From Pipeline

    Thanks John. That was it. I have removed the carriage return and all is now working fine.
  7. S

    Unable to Retrieve String From Pipeline

    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...
Top Bottom