jcardana
Old to VB6, New to VB.NET
It was working fine this morning. I've been having issues with defender. Now this...
In my module I have...
In my FormLoadEvent, I have...
It gets through the Writeline commands until I get to the FormResize...
Then I get NullReference.
In my module I have...
VB.NET:
Public WriteToLog As StreamWriter
In my FormLoadEvent, I have...
VB.NET:
Dim WriteToLog As New StreamWriter(UserLFM_Dir & "\~LFM_ErrorLog.txt")
VB.NET:
WriteToLog.WriteLine(Format(Now, "yyyyMMdd.HHmmss") & "- " & Routine(SubLevel) & " - ENTER")
Then I get NullReference.