J. Scott Elblein
Well-known member
I am passing a ToolStripComboBox to a Sub in a module, using this as an argument, ByVal cbobx As ToolStripComboBox. When I step over this line in the debugger, using a Try/Catch :
I get this error with console.writeline ex.message:
LastLogin contains a string and is not null when I break on it before stepping over it, and the cbobox still gets filled with the correct text after stepping over it.
Anyone know why I might be getting the nullref exception?
VB.NET:
cbobx.Text = My.Settings.LastLogin
I get this error with console.writeline ex.message:
VB.NET:
A first chance exception of type 'System.NullReferenceException' occurred in BrowserControl.exe
LastLogin contains a string and is not null when I break on it before stepping over it, and the cbobox still gets filled with the correct text after stepping over it.
Anyone know why I might be getting the nullref exception?