|
-
May 10th, 2001, 03:25 PM
#1
How to check whether the floppy disk is write-protect or not?
Who know how to check whether the floppy disk is write-protect or not?
Thanks!
-
May 10th, 2001, 07:19 PM
#2
Re: How to check whether the floppy disk is write-protect or not?
Function IsWriteable() as Boolean
On Error Goto Hmm
Open "A:\Tmp.tmp" for Append as #99
IsWritable = True
Hmmm:
Close #1
if Err = 70 then
*It's not writeable or that file is in use*
Else
Error(Err)
end if
End Function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|