I have routine that emails me error information thru online jMail. It gives the following information:
Date
Computer/name
User/name
App.title
App.minor and major version
App.path
App.exename
Procedure title
Error line number
Error number
Error description
I think i understand the error handling correctly. This is the part i am not sure of:
I know this will produce an error if the file does not exist:
Is this the correct way to write this?Code:Sub OpenFile() On error goto ErrorHandler On Error Resume Next Open Myfile For Random As #miFilenumber 'file is created if it does not exist On error goto ErrorHandler ' reset the error handler





Reply With Quote