Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DriveType() returns wrong result
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DriveType() returns wrong result
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01265298
Message ID:
01265298
Views:
67
Hi All,

In Windows Explorer, my system shows two physical hard disk drives (C: and D:) and a DVD drive (E:) followed by four 'phantom' drives (F:, G:, H: and I:). When I plug in a RAM drive, it becomes J:, however DriveType('J') returns 2 - floppy drive.

From the top DriveType() returns
C - 3 (hard disk)
D - 3 (hard disk)
E - 5 (CD ROM)
F - 2 (Floppy)
G - 2 (Floppy)
H - 2 (Floppy)
I - 2 (Floppy)
J - 2 (Floppy)

Anybody else come across this problem or have a solution/workaround please?

This also occurs on client computers with similar configurations.

Regards...Rex
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Next
Reply
Map
View

Click here to load this message in the networking platform