Hi.
I have couple of ideas about different kinds of softwares but there's something I just can't figure out myself. I'm not sure even if this can be done with .NET.
So the problem is that I need a virtual drive. Ideal situation would be that I have Windows Service, which takes XML as input (or some other structured stuff) and then creates directories and files according to XML. After when user goes to Explorer and double clicks those virtual files, service would notify some other program / service / dynamically linked DLL / whatever about which item was selected.
XML file could be something like:
<folder name="foobars">
<file name="foo" icon="X:\MyIcon.ico" />
<file name="bar" icon="X:\MyIcon.ico" />
</folder>
Icons wouldn't probably be so important. Just that when user double-clicks foo in the foobars folder, some program gets some notification saying: item foobars\foo was double-clicked
Any ideas how this can be done? Do I need to implement some virtual filesystem driver (I've done virtual network drivers with C in the past) or is there some "easy" way? Any help will be greatly appreciated.