I'm getting the following error message as soon as the application opens:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at IPSDataUpdate.Main.Main_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I've stepped through the application line by line in an effort to find where the issue is at. However I can't seem to find it. The application seems to build fine with no errors coming up. It is only after the user opens the application does this come up. Most of the information above is probably helpful. However I'm not real sure what it's trying to tell me. Any thoughts on where to look to fix this?
As always, thanks for your help.