I have a program I have written in vb 6.0 Now someone is tring to install it and they are getting a error 57 do you know why? and also where can I get a list of runtime error and what they mean.
Thanks,
Printable View
I have a program I have written in vb 6.0 Now someone is tring to install it and they are getting a error 57 do you know why? and also where can I get a list of runtime error and what they mean.
Thanks,
Error number 57 is a "Device I/O Error"
maybe a printer driver or a diskdrive is malfunctioning?
'get error source and description
Private Sub Command1_Click()
Dim Msg$
' If an error occurs, construct an error message
'hardcode the error number for test purpose
Err.Number = 20520
If Err.Number <> 0 Then
Msg$ = "Error # " & Err.Number & " was generated by " _
& Err.Source & Chr(13) & Err.Description
MsgBox Msg$
End If
End Sub