How can I check the file type of an object in my listbox?
I'm returning a list of strings from an online server and simply wanting to have an event that gets fired when I click on an item that has a .folder file type at the end.
I've tried looking but can't find anything.
Can someone please provide a link or sample code so I can achieve what I would like to achieve.
If you just want the folder extension event
You could include the FileInfo assembly and use FileInfo.Extension.
This should work for you;