.NET General

Moderators: None (Apply to moderate this forum)
Number of threads: 797
Number of posts: 1359

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Virtual drive Posted by weicco on 14 Oct 2005 at 12:24 AM
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.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.