Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Form Question??? Pin
Chris Austin28-Jan-03 11:15
Chris Austin28-Jan-03 11:15 
AnswerRe: Windows Form Question??? Pin
Brian Nottingham28-Jan-03 12:18
Brian Nottingham28-Jan-03 12:18 
AnswerThanks -- Re: Windows Form Question??? Pin
ethan29-Jan-03 4:56
ethan29-Jan-03 4:56 
GeneralXSD, Datasets, and global elements Pin
Marc Clifton28-Jan-03 8:35
mvaMarc Clifton28-Jan-03 8:35 
GeneralRe: XSD, Datasets, and global elements Pin
leppie28-Jan-03 9:28
leppie28-Jan-03 9:28 
GeneralRe: XSD, Datasets, and global elements Pin
Marc Clifton28-Jan-03 10:01
mvaMarc Clifton28-Jan-03 10:01 
GeneralRe: XSD, Datasets, and global elements Pin
leppie28-Jan-03 10:41
leppie28-Jan-03 10:41 
GeneralRetrieve the Name of a Disk Drive Pin
Mark Sanders28-Jan-03 5:30
Mark Sanders28-Jan-03 5:30 
Here is the situation:
I am writing an application that needs to detect a specific USB MMC card reader connected to the computer. I need to do this so that I can make the default save path for my application automatically be the card reader.

Possible Solution to Try:
An idea that I have is to check each drive on the computer and when the name of the drive matches the name of the reader I will know I have the right drive. I don't know how to get the name of the drive programatically but on my Windows XP Pro Machine I...

1. Open Windows Explorer.
2. Right click on the reader (labeled "Removable Disk (F)")
3. Select Properties.
4. Select the Hardware tab from the Removable Disk Properties.
5. Under the hardware tab there will be a list of "All disk drives:". In this list the specific name of the reader is listed as "eUSB Secure Digital USB Device."

"eUSB Secure Digital USB Device" is the name that I need. This name is also displayed under "Disk Drives" in the "Device Manager".

Suggestions:
1. Do you think this is a good idea to try?
2. Do you know how to do an part of the above proposal programatically?

I would like to stay in C# as much as possible but I have a feeling this is only going to be able to be done using the Windows API or some other non-.NET way.

Thank you for your help. Smile | :)

Mark Sanders
sanderssolutions.com
GeneralRe: Retrieve the Name of a Disk Drive Pin
thematt28-Jan-03 6:31
thematt28-Jan-03 6:31 
GeneralRe: Retrieve the Name of a Disk Drive Pin
Mark Sanders28-Jan-03 7:41
Mark Sanders28-Jan-03 7:41 
GeneralRe: Retrieve the Name of a Disk Drive Pin
thematt28-Jan-03 7:54
thematt28-Jan-03 7:54 
GeneralRe: Retrieve the Name of a Disk Drive Pin
Mark Sanders28-Jan-03 7:59
Mark Sanders28-Jan-03 7:59 
GeneralRe: Retrieve the Name of a Disk Drive Pin
fhsBlue28-Jan-03 10:53
fhsBlue28-Jan-03 10:53 
QuestionHow to get values stored in Scripting.Dictionary instance. Pin
Christian Merritt28-Jan-03 3:33
Christian Merritt28-Jan-03 3:33 
AnswerRe: How to get values stored in Scripting.Dictionary instance. Pin
Richard Deeming28-Jan-03 4:05
mveRichard Deeming28-Jan-03 4:05 
GeneralRe: How to get values stored in Scripting.Dictionary instance. Pin
Christian Merritt28-Jan-03 6:04
Christian Merritt28-Jan-03 6:04 
GeneralReflection not reflecting! Pin
FruitBatInShades28-Jan-03 2:57
FruitBatInShades28-Jan-03 2:57 
GeneralRe: Reflection not reflecting! Pin
Heath Stewart28-Jan-03 3:52
protectorHeath Stewart28-Jan-03 3:52 
GeneralRe: Reflection not reflecting! Pin
FruitBatInShades29-Jan-03 2:37
FruitBatInShades29-Jan-03 2:37 
Questionhow to hide/disable Form.Close "X" ? Pin
Chris Richner28-Jan-03 2:56
Chris Richner28-Jan-03 2:56 
AnswerRe: how to hide/disable Form.Close "X" ? Pin
Heath Stewart28-Jan-03 3:44
protectorHeath Stewart28-Jan-03 3:44 
GeneralRe: how to hide/disable Form.Close "X" ? Pin
Chris Richner28-Jan-03 4:25
Chris Richner28-Jan-03 4:25 
GeneralRe: how to hide/disable Form.Close "X" ? Pin
Chris Richner29-Jan-03 22:42
Chris Richner29-Jan-03 22:42 
Generaleasy ToolBar q. Pin
jtmtv1828-Jan-03 0:18
jtmtv1828-Jan-03 0:18 
GeneralRe: easy ToolBar q. Pin
Chris Richner28-Jan-03 3:08
Chris Richner28-Jan-03 3:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.