473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

.NET Framework Drive Object

Howdy All,

I have been looking and am amazed that there is not an equivilent
object as the WSH or FSO in .net. To be able to get Drive information
you either have to use COM on one of the two afore mentioned objects.

Or use the WSI queries which are not the most user friendly. Granted
they contain a ton of information but I have to write my own English
translation function if I want "Drive Types" in words.

All of the postings I can find on this are dated pre 2003. Have there
been any updates and I am just missing them or are these the only
options?

Thanks

dbl

Jul 21 '05 #1
2 1136
What are you trying to do? System.IO.Directory and
Environment.GetLogicalDrives should be anough for most purposes.

"DBLWizard" <ib*********@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Howdy All,

I have been looking and am amazed that there is not an equivilent
object as the WSH or FSO in .net. To be able to get Drive information
you either have to use COM on one of the two afore mentioned objects.

Or use the WSI queries which are not the most user friendly. Granted
they contain a ton of information but I have to write my own English
translation function if I want "Drive Types" in words.

All of the postings I can find on this are dated pre 2003. Have there
been any updates and I am just missing them or are these the only
options?

Thanks

dbl

Jul 21 '05 #2
I am wanting to get Drive Type, Volumn Information, if removable drive
has media in it, the Capacity, and available Free space.

And I don't see any Framework object that will do that. Yes I realize
that I could write my own class that uses the WMI but as I said it just
surprises me that this type of object was not included in the Framework.

Thanks

dbl

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

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

Similar topics

3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
19
by: Kamilche | last post by:
I have looked at many object-oriented programming frameworks out there for C. Though the ideas presented are intriguing, and I've used some of them in my own work, they all suffered some drawback...
2
by: Someone Please Help! | last post by:
I had Visual Studio .NET installed on my system for a while and then decided I would install a second copy of Windows 2000 on my second drive and use it strictly for developing Visual Basic apps....
2
by: Russ | last post by:
I set up a web server machine using Windows 2003 server, Web Edition. Every time I try to do anything with it I get an error message that says that "the specified Wew server is not running ASP.NET...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
8
by: Dennis | last post by:
I have two computers both running Windows XP Professional. The computer on which I have Vs.Net 2003 has Framework 1.1 installed which is listed as 1.050.00mb. On the other computer, Framework 1.1...
2
by: DBLWizard | last post by:
Howdy All, I have been looking and am amazed that there is not an equivilent object as the WSH or FSO in .net. To be able to get Drive information you either have to use COM on one of the two...
8
by: mike2036 | last post by:
I have an application (that has unmanaged code) and when I launch it without 'FullTrust' permissions (LocalIntranet_Zone), it crashes. When I set 'FullTrust' permissions, it launches fine. Is...
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.