Windows 7 Forums


Reply
Thread Tools

Drive letters

 
 
Marv
Guest
Posts: n/a
Thanked:
 
      06-03-2011
In a Visual Basic program I have a routine that displays all of the on
drives on the system. The ones found are C,d,e,f, g,h,I,j & y.
However, Windows Explorer only shows the c,d,e,f, & y. In the VB
program if I attempt to access g,h,I,& j I get a program error that says
the cannot be accessed.

Anyone have a thought as to where these "phantom" drives are coming from
and if and how can I get rid of them.

Marv
 
Reply With Quote
 
 
 
 
Paul
Guest
Posts: n/a
Thanked:
 
      06-03-2011
Marv wrote:
> In a Visual Basic program I have a routine that displays all of the on
> drives on the system. The ones found are C,d,e,f, g,h,I,j & y.
> However, Windows Explorer only shows the c,d,e,f, & y. In the VB
> program if I attempt to access g,h,I,& j I get a program error that says
> the cannot be accessed.
>
> Anyone have a thought as to where these "phantom" drives are coming from
> and if and how can I get rid of them.
>
> Marv


You have a USB based memory card reader. Those create four phantom drive
letters, even when media is not inserted in them.

The card readers come in 3.5" and 5" form factors.

http://images10.newegg.com/NeweggIma...223-103-03.jpg

Being USB based, you may find a cable running inside the computer, from
the back of the unit, to a motherboard header. The cable isn't likely to
be as fat and impressive looking as this one. If you unplug the thing
from the motherboard end, make some notes of how it goes back. There
could be a "keying" pin in the 2x5 pattern, but document it anyway when
you want to plug it back in.

http://images10.newegg.com/NeweggIma...223-103-07.jpg

Perhaps there is some programmatic way to tell which drive letters
belong to a device like that. If you're distributing your program,
you'll also have to handle cases where more than one of those drives
is present.

Paul
 
Reply With Quote
 
Seth
Guest
Posts: n/a
Thanked:
 
      06-03-2011

"Marv" <> wrote in message
news:isb98p$g6o$...
> In a Visual Basic program I have a routine that displays all of the on
> drives on the system. The ones found are C,d,e,f, g,h,I,j & y. However,
> Windows Explorer only shows the c,d,e,f, & y. In the VB program if I
> attempt to access g,h,I,& j I get a program error that says the cannot be
> accessed.
>
> Anyone have a thought as to where these "phantom" drives are coming from
> and if and how can I get rid of them.


Like Paul said, probably a memory card reader. By default Windows will only
show these in explorer when "not empty" (there is a card inserted. You can
in the options for Windows Explorer tell it to show even when empty so it
will match what VB is showing.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acronis True Image WD Edition clifford_cooley Free Software Database 0 08-11-2010 07:39 AM
Loosing and changed drive letters glennc Windows 7 Support 2 07-19-2010 02:55 AM
can a pocket drive run an OS? catilley1092 Hardware 6 05-24-2010 07:23 AM
How to Install Windows 7 from a USB Thumb Drive Nibiru2012 Installation, Setup and Updates 1 05-07-2010 03:18 AM
How to boot from E drive? Joemac8 Windows 7 Support 4 04-23-2010 02:34 PM


All times are GMT +1. The time now is 01:40 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33