|
-
Feb 16th, 2000, 06:34 AM
#1
Thread Starter
Hyperactive Member
-
Feb 16th, 2000, 06:48 AM
#2
Try something like
Code:
Private Sub Command1_Click()
Dim fs As New FileSystemObject
On Error GoTo ErrHnd
fs.CopyFile "D:\MyFile.txt", "a:\"
Exit Sub
ErrHnd:
If Err.Number = 76 Then
MsgBox "Drive not ready."
End If
End Sub
------------------
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819
-
Feb 16th, 2000, 07:04 AM
#3
Thread Starter
Hyperactive Member
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
|