473,657 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Floppy Drive

Is there a way to detect if a disk has been put in the floppy drive?

Thank You!

Sandy
Nov 12 '05 #1
1 1522
Try to read the floppy and trap the error that gets returned. If there is no
disk in the drive you will get

Error 71
Disk not ready.

--
Wayne Morgan
MS Access MVP
"Sandy" <sm*****@earthl ink.net> wrote in message
news:v8******** *********@newsr ead1.news.atl.e arthlink.net...
Is there a way to detect if a disk has been put in the floppy drive?

Thank You!

Sandy

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4178
by: Ken Varn | last post by:
Everytime I call Process.GetCurrentProcess() the system goes out to the floppy drive. Why does this happen. I decided to use FileMon to get a log of what is happening when this occurs. Here is the log: 1 4:31:10 PM BlockedConfigAp:1340 IRP_MJ_CREATE A: DASD SUCCESS Attributes: Any Options: Open 2 4:31:11 PM BlockedConfigAp:1340 IRP_MJ_DEVICE_CONTROL A: DASD INVALID DEVICE REQUEST IOCTL: 0x560000 3 4:31:11 PM BlockedConfigAp:1340...
1
1880
by: Anil Kumar Narayanan | last post by:
This is the DIR command of MS-DOS and works for a floppy drive media.. it retrieves all the files whether deleted or not from the floppy drive.. but i was unsuccessful in getting the Date and Time Format.. So if any of u have any info on how to get the Date and Time please forward me through an email.. I would appreciate that.. //--------------------------- F*****K IT COMPANIES --------------- #include <stdio.h> #include <conio.h>...
3
1764
by: Just Me | last post by:
In code I check to see if the Floppy drive is ready and display it's state. But if the user inserts or removes a floppy disk I need an event or a Wndproc message to cause the code to display the new state. Is the some way the code can be alerted to the fact that a removable disk drive's state changed? I wonder if the above isn't clear.
0
987
by: Elias | last post by:
Hi, I recently started playing around with the DAAB from Microsoft as part of the Enterprise Library (http://www.microsoft.com/downloads/details.aspx?FamilyId=0325B97A-9534-4349-8038-D56B38EC394C&displaylang=en). So far it has been pretty neat, but when I went to implement the DAAB within an ASP.NET application I began getting some weird side effects. I used essentially the same code that was given in one of the quick start tutorials...
3
1131
by: Colin | last post by:
Is there a way to prevent running an .exe from the floppy drive?
10
2085
by: Just Me | last post by:
If I periodically check to see if the floppy is ready, the drive will each time make a little noise. I've been up against this before and could never find a way to check to see if the floppy drive is ready without making the drive make that grinding noise. Does anyone know a way? Thanks in advance
3
1290
by: Ivan V via DotNetMonster.com | last post by:
Hi All: I have a set data which I need to process it and then generate into a txt format and save it to a floppy diskette. How can I do that? Best rgds, Ivan Vong --
1
1347
by: rf | last post by:
Hey, is there any way to save a file to a floppy disk using php? The server will be linux and the local computer will be windows. I need it so the user can put a disk in the drive, hit go, the php page will create an excel file, save it to the users floppy drive and then tell him to put another disk in and hit ok to restart the cycle again. This will continue until all the needed files are build. I know how to do everything except...
4
1702
by: Academia | last post by:
I don't suppose there is any way to tell if there is a floppy in a floppy drive without activating the drive and causing it to make a noise if there is no floppy in the drive. Is there? Thanks
0
8312
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8504
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.