Check floppy ready causes the drive to make a little noise

J

Just Me

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
 
C

Crouchie1998

There isn't a way as far as I know because Windows always checks for a
certain amount of time before throwing the error drive not ready

Crouchie1998
BA (HONS) MCP MCSE
 
L

lgbjr

You could use:

Dim result As DialogResult
result = MessageBox.Show("Is there a floppy disk in Drive" +
MyDriveLetter.Text + "?", "Floppy Checker", MessageBoxButtons.YesNo,
MessageBoxIcon.Question)
If result = DialogResult.Yes Then
'Do your stuff"
Else
'Don't do your stuff
End If

This wouldn't make any grinding noises! :)
 
C

Cor Ligthert

Just Me,

Sorry, however I don't understand what you mean with this message.
If I periodically check to see if the floppy is ready, the drive will each
time make a little noise.
What is "ready" in this message. Available, written, ?????

Cor
 
C

Crouchie1998

LOL = Laugh Out Loud & I agree with the MVP because that scrappy message box
code won't make a single bit of difference

I know you can buy a silencer for a gun, but do they make one for a floppy
drive? Sorry - being sill now

Crouchie1998
BA (HONS) MCP MCSE
 
H

Herfried K. Wagner [MVP]

Crouchie1998 said:
LOL = Laugh Out Loud & I agree with the MVP because that scrappy message
box
code won't make a single bit of difference

I know you can buy a silencer for a gun, but do they make one for a floppy
drive? Sorry - being sill now

LOL! BTW: I always hated the sound of floppy drives and thus deleted the
recent folder to prevent Windows from accessing the floppy drive when
starting at the time I was using floppy disks.
 
C

Crouchie1998

Why didn't you just disable recent dowcuments? Therefore they won't be
created in the first place & you wouldn't have that problem:

1) To Disable Recent Docs. History:
-----------------------------------

User Key:
---------

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore
r

System Key:
-----------

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explor
er

Key Name:
---------

NoRecentDocsHistory

Key Type:
---------

DWORD

Value:
------

0 = Enable Recent Docs. History
1 = Disable Recent Docs. History <---- You want

------------------------------------------------

2) To Clear Recent Docs. When Windows Shutsdown:
------------------------------------------------

User Key:
---------

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore
r

System Key:
-----------

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explor
er

Key Name:
---------

ClearRecentDocsOnExit

Key Type:
---------

DWORD

Value:
------

0 = Enable Clear Recent Docs On Windows Shutdown
1 = Disable Clear Recent Docs On Windows Shutdown <---- You want

----------------------------------------------------------------

3) Lastly, remove the Recent Docs. from the Start Menu:
-------------------------------------------------------

User Key:
---------

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explore
r

System Key:
-----------

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explor
er

Key Name:
---------

NoRecentDocsMenu

Key Type:
---------

DWORD

Value:
------

0 = Enable Recent Docs On Start Menu
1 = Disable Recent Docs On Start Menu <---- You want

----------------------------------------------------

I hope this helps, Herfried.

Crouchie1998
BA (HONS) MCP MCSE
 
H

Herfried K. Wagner [MVP]

Crouchie,

Crouchie1998 said:
Why didn't you just disable recent dowcuments? Therefore they won't be
created in the first place & you wouldn't have that problem:

Well, I know that there are ways to do that, but I rarely used floppys, and
I didn't use a floppy disk in the last few years at all :).
 
L

lgbjr

Grouchie,

Do you really think I believe my post was a real solution to the problem?
LOL! Though I could have written a "Floppy Checker" Class using the same
"user interface", I didn't think it was necessary to get the point of the
joke across.

However, if you write a windows app that requires the use of a floppy drive,
there is no way to programatically determine if a floppy is in the drive
without accessing the drive (thus the grinding noise from the heads trying
to find the media - a bit louder if there isn't a floppy in the drive).

So, even though it was meant as a joke, asking the user to verify that a
floppy is in the drive before trying to access the drive does actually
address the original question in this thread, whereas deleting the recent
documents folder or disabling recent documents via the registry (while
eliminating unnecessary floppy read attempts by the OS) really have nothing
to do with the original question.

Cheers
Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top