hi
i have a drivelistbox ,dirlistbox and filelistbox
i want to trap error( Device unavailable "68")
i placed the following code

VB Code:
  1. Private Sub Drive1_Change()
  2.   On Error GoTo EH:
  3. EH:
  4. If err.Number = 68 Then
  5.     GoTo DISK
  6.      End If
  7.  DISK:
  8.    MsgBox "Drive A:\ is Not Ready"
  9.     Drive1.Drive = "C:\"
  10.      Exit Sub
  11.  Dir1.Path = Drive1.Drive
  12.    End Sub
when i run the program the error occured on clicking any drive(all drives)
what i have to do?
THANKS