I'd like to have a virtual folder for a special device to be integrated into
explorer's filesystem view. The preferable way would be to have an individual
drive. But it is also acceptable to have a virtual folder. The only
requirement I have is that explorer should behave like for real filesystem
folders (d.h. file types, context menu, columns, view, toolbar, etc). This
means every application may access the contents on that device, using
standard file I/O, as if it would be an ordinary filesystem entry.
I started writing a NSE with C# that provides the files and folders stored
on that
device. But it turned out that the NSE has to do all the work itself. I
found no way to just tell explorer that there's a folder and force it to do
the entire stuff.
I'm wondering if there isn't a much more easier way to do that, e.g. by
implementing a special interface, or some thing like that, whithout the need
to do all the work by my self.
Than I heard from WinFX/WinFS and I'm asking if this technologies can be
more helpful. But I don't know where to start from.
Mike 3 2357
>I'm wondering if there isn't a much more easier way to do that, e.g. by implementing a special interface, or some thing like that, whithout the need to do all the work by my self.
I wouldn't call it easier, but it sounds like what you really need is
to write a (fake) file system driver. Not something you use C# for.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
"Mattias Sjögren" wrote: I'm wondering if there isn't a much more easier way to do that, e.g. by implementing a special interface, or some thing like that, whithout the need to do all the work by my self.
I wouldn't call it easier, but it sounds like what you really need is to write a (fake) file system driver. Not something you use C# for.
Mattias
-- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
I don't want to develop a driver. Isn't there way to provide a virtual
filesystem, just by implementing a particular (file-based) interface? Linux
has such a mechanism (Filesystem in Userspace). It took me just a day,
including getting familiar with the technology, to implement the filesystem
in Linux. I can not believe that there isn't a similar technology on windows.
Mike "Mattias Sjögren" wrote:
I'm wondering if there isn't a much more easier way to do that, e.g. by implementing a special interface, or some thing like that, whithout the need to do all the work by my self.
I wouldn't call it easier, but it sounds like what you really need is to write a (fake) file system driver. Not something you use C# for.
Mattias
-- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael |
last post by:
Is this the correct place to ask about Boost libs?
If it is..............
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
using namespace boost;
using namespace boost::filesystem;
|
by: Atila Olah |
last post by:
I'm working on a project to implement a simple cross-platform file
sharing protocol (using Python) that is similar to HTTP, and I have to
write a GUI for Windows and Linux. But let's start with the harder one:
Windows.
My question is: How do I implement a virtual partition that acts like a
real file-system and is compleatly transparent to other programs?
Should I make a virtual file allocation table for a FAT32 partition or
simulate an...
|
by: Thomas Zangl |
last post by:
Hi!
I have a class hierachie like this:
// interface, abstract only
class ISession {
}
// implements common parts of ISession
|
by: Enigma Curry |
last post by:
I need to store a large number of files in an archive. From Python, I
need to be able to create an archive, put files into it, modify files
that are already in it, and delete files already in it.
The easy solution would be to use a zip file or a tar file. Python has
good standard modules for accessing those types. However, I would tend
to think that modifying or deleting files in the archive would require
rewriting the entire archive.
...
|
by: Chuck P |
last post by:
Using vs05 and making an asp.net 2.0 website.
We use VSS and have everything organized like this
SolutionName
Documents
Code
WebProjectName1
WebServiceProjectName1
| |
by: jbonifacejr |
last post by:
I am unable to use the GetFolder method of the FileSystem object when
trying to get the folders from within a Virtual Directory. Here is my
setup...
I have a Development Box (DB) and a WebServer (WS) and a separate file
server (FS). On FS, I have a share with permission for Everyone set to
Read. On my DevBox I have a website in IIS named CD and inside the
website folder I have a Virtual Directory (Moozik) with the location
set to...
|
by: GaryE |
last post by:
Hello:
I am having trouble linking a couple of files using the boost::filesystem.
I am using MSVC 6.0.
Here is an abbreviated version of my problem:
foo.h:
#ifndef __FOO_
#define __FOO_
#include "boost/filesystem.hpp"
|
by: Thomas W |
last post by:
I want to create a virtual filesystem based on a relational database.
It might run as a server on a different machine, but it has to be
available like a normal filesystem, either shared using SAMBA or
windows filesharing or thru something else like WebDav.
The idea is that I scan a local filesystem and then create relations
between those files stored in a relational database, eg. a create a
group called family, add a bunch of files...
|
by: David C |
last post by:
Is the sample below valid for referencing a virtual folder named OracleFiles
in a web site where the aspx page that is using this code is under the root
folder of the subweb? Some users are getting exception errors. Thanks.
Dim strPath As String = Server.MapPath("~/OracleFiles")
-David
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |