Good Morning group!
I've made some minor changes to my coding (to open a log file, write to it and then close it) and now I'm getting an error that I've not seen before. The error code is CA2213. I've read what it says and I've tried to look it up online, but I don't seem to grasp what it means. Hopefully you can help.
When I double click the error, the yellowed out line is:Protected Overrides Sub Dispose(ByVal disposing As Boolean)
The remaining code says:
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
The error message say to "Change Dispose Method to call Close or Dispose on this field". Where is this change supposed to be?
In advance, thanks for your help.
Don