Re: Getting volume information
- From: WhiteWizard <WhiteWizard@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 3 Jan 2007 08:00:00 -0800
Here is what I get from the code you posted:
----------------------
label: APPS
Format: NTFS
Name: C:\
Root Directory: C:\
Type: Fixed
Is Ready: True
----------------------
label: DATA
Format: NTFS
Name: D:\
Root Directory: D:\
Type: Fixed
Is Ready: True
----------------------
label: Audio CD
Format: CDFS
Name: E:\
Root Directory: E:\
Type: CDRom
Is Ready: True
----------------------
label: MARNV009_J
Format: NTFS
Name: Z:\
Root Directory: Z:\
Type: Network
Is Ready: True
What do you mean by "card reader"? (other message)
I use the same class to determine if I have a removable PCMA card in my app
and it works great. Something is screwy here :)
WhiteWizard(aka Gandalf)
MCSD.NET, MCAD, MCT
"herc" wrote:
Gandalf,.
This is interesting, here is what I get when I run the program, or at
least part of it:
----------------------
Root Directory: D:\
Type: CDRom
Is Ready: False
----------------------
Root Directory: E:\
Type: CDRom
Is Ready: False
----------------------
Root Directory: F:\
Type: CDRom
Is Ready: False
----------------------
label:
Format: NTFS
Name: G:\
Root Directory: G:\
Type: Network
Is Ready: True
----------------------
When I look at Windows Explorer (running XPSP2), things are displayed
this way:
DVD Drive (D:)
DVD-RW Drive (E:)
DVD Drive (F:)
cartoof on '172.16.52.2' (G:)
How is it getting that the CDRom's are really DVD's and DVD-RW and how
is it getting the actual share name of the network drive mounted to G:?
I am trying to develop to the lowest common factor, thus more
information is ideal;)
WhiteWizard wrote:
Herc,
I copied your code into a console app and it runs fine for me. Maybe your
drives really don't have a label?
WhiteWizard(aka Gandalf)
MCSD.NET, MCAD, MCT
- References:
- Getting volume information
- From: herc
- Re: Getting volume information
- From: herc
- Getting volume information
- Prev by Date: Copy items to another combobox?
- Next by Date: Re: validate textbox
- Previous by thread: Re: Getting volume information
- Next by thread: Re: Getting volume information
- Index(es):
Relevant Pages
|