473,625 Members | 3,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create a Virtual Drive

Hi, is it possible to create a virtual drive? For instance, let's say I
want to create a virtual drive call "Z", and that drive should be visible in
the My Computer folder and works like a standard hard drive, but the
different is that, all underlying implementations such as create a file at
the "Z" drive, etc. will be mapped to my dll or services.

Thanks
Tony
Nov 15 '05 #1
6 28555
Hello Tony,

I'd like to follow up with you and see if there is any further I can help.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
Nov 15 '05 #2
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@onlin e.microsoft.com > wrote in message
news:rl******** ******@cpmsftng xa06.phx.gbl...
Hi Tony,

Thanks for your post. I'd like to share the following information with you:
If you want to create a virtual drive just like standard hard disk, you
have to write a kernel-mode device driver. To develop a kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I believe the following DDK sample is very helpful for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebCon tent=1

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.

Nov 15 '05 #3
Thanks for reply, but is there a way to do this without C/C++?
"Tian Min Huang" <ti******@onlin e.microsoft.com > wrote in message
news:rl******** ******@cpmsftng xa06.phx.gbl...
Hi Tony,

Thanks for your post. I'd like to share the following information with you:
If you want to create a virtual drive just like standard hard disk, you
have to write a kernel-mode device driver. To develop a kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I believe the following DDK sample is very helpful for creating virtual disk driver.

FILE: Ramdisk.sys Sample Driver for Windows 2000
http://support.microsoft.com/default...microsoft.com: 80/support/kb/articles/Q257/4/05.ASP&NoWebCon tent=1

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.

Nov 15 '05 #4
Tian Min Huang wrote:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.


Why a driver? Wouldn't a shell namespace extension do what he wants?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #5
Tian Min Huang wrote:
Hi Tony,

Thanks for your post. I'd like to share the following information
with you:

If you want to create a virtual drive just like standard hard disk,
you have to write a kernel-mode device driver. To develop a
kernel-mode driver, we should install corresponding Windows DDK at
http://www.microsoft.com/ddk, and program in C/C++ instead of C#. I
believe the following DDK sample is very helpful for creating virtual
disk driver.


Why a driver? Wouldn't a shell namespace extension do what he wants?

--
Arild Fines

http://ankhsvn.tigris.org
A Visual Studio .NET Addin for the Subversion version control system.
Nov 15 '05 #6
Hello Tony,

We have to use C/C++ to create kernel-mode device driver.

As suggested by Arild, you may also consider creating a shell namespace
extension (say, "My Network Places", etc). Please refer to the following
documentation and sample:

The Shell Namespace
http://msdn.microsoft.com/library/de...us/shellcc/pla
tform/shell/programmersguid e/shell_basics/namespace.asp

Creating a Shell Namespace Extension
http://msdn.microsoft.com/library/de...us/shellcc/pla
tform/shell/programmersguid e/shell_adv/namespaceextens ion/namespace.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3695
by: Tiziano Bettio | last post by:
Hi there I'm looking for a simple solution of a win32 shell extension (virtual drive). It should make available a new drive with letter, which will be read-only. Instead of a network drive or similar it then should query a server application for directory/file listing. Would be nice to have a lib or similar for that.
1
2268
by: Iwan | last post by:
I have a speciffic task of which i do not know how to start on. The task is to create a virtual drive (like a ram drive og deamon tools). Through this drive files are to be saved and loaded like a normal drive, but the "files" are created runtime by my program. The idea is that the program accessing the drive can not tell the diffrence. Here is what i need: - How to register the drive with windows. - How to create a connection between...
1
1914
by: freddy | last post by:
I would like to create a virtual web drive like what xdrive has. I what this for personal reasons. I know this can be done I just do't know where to start. I would login to my webpage and have a virtual drive Like h:\%username% mapped to my desktop from my webserver.
2
8185
by: Kavitha | last post by:
Hi , Can any one tel me how to create a virtual drive in C#( similar to Gmail Virtual drive).Also tell me what interfaces could be used to create the same. Thanks in Advance Kavitha
4
9136
by: Luc The Perverse | last post by:
Hi - I have very little C# programming experience. I am making a software product which calls for an interface almost identical to Windows Explorer - and I wondered if mounting a "virtual drive" would be feasable for me (someone not good at programming) to implement. -- LTP :)
1
2473
by: Bhaskar Jatav | last post by:
Hello sir, It is highly obliged to tell me how to create virtual drive for any folder,file or any drive. I am working on one in which i need to create virtual drive. please anybody tell me. Thanks and Regards Bhaskar
0
1414
by: sumit.professional | last post by:
Hello Friends, Help required for creating a virtual drive in windows explorer using C# which will work for both 32 bit and 64 bit machine(XP and Vista). Means just want to show a xtra drive in windows explorer. If anybody knows anything like this the please let me know at sumit.professional@gmail.com Thanks in advance :-)
2
1417
by: rksinghal | last post by:
Hi all First I need to create a virtual drive with a fixed drive letter. I want to mount my external hard disk to this location of virtual drive. This drive letter should not changed irrespective of reboot or changing the volume name of external hard disk also. Please let me know the proper place to put my query. Thanks in advance. Regards Rakesh
0
1323
by: eric navara | last post by:
Is there any way to turn (change) a virtual drive into a logical drive in Win7 ?
0
8256
marktang
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...
0
8635
jinu1996
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...
1
8356
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,...
0
8497
tracyyun
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...
0
7184
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6118
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1500
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.