I'm getting the following error occasionally when I load my initial MDI form:
"Object reference not set to an instance of an object".
It happens on the following line of code:
frmMain.ActiveForm.Text = "Centre : " & BranchName & " (" & UserCentre & "); User: " UserFullName & " (" & LCase(Username) & ")"
It doesn't happen all the time the application is loaded which makes it very hard to figure out why the eroror is occuring. Does anyone have any ideas?