Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test if a floppy is inserted ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00976706
Message ID:
00977410
Views:
30
>>Noted George, thanks.
>>
>>Strange, I haven't had to prog for this in years - what is a floppy, by the way? :-)
>>Back in V3.0b days I encountered a function off MSN or somewhere, called IsDiskIn() I think. It's not on my current pc though. I think it employed the FILE() func (with a # somewhere in there).
>>
>Terry,
>
>I remember that function too. I think, however, it was a third party DLL or something.
>
>I haven't tested it (DISKSPACE()) with Win2K an above, so I don't know if it's still an issue. However, if you do have to support NT4.0, then it's definetly the way to go (meaning the WSH).

We also used isDiskIn when our server was Novell Netware, It was a function in the GPLib library.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform