I have a problem that's is driving me fool... This is my code:
On Error GoTo TratarError
If pedir_copia then
frmDirectorio.fraCopia.Visible = True
frmDirectorio.txtCopia.Text = "A:"
frmDirectorio.drvCopia.Drive = "A:"
frmDirectorio.dirCopia.Path = "A:"
If (Err.Number=68) Then
MsgBox "Error", 16, "ERROR"
Now, the problem... If I have a diskette in the A drive, all goes on right. But if I don't have a diskette inserted, I got the "Run-time error 68". I've tried to treat the error in this procedure, and in the event that ".Drive" generates, but I got nothing.
Someone can help me, please? (sorry for my English)