|
-
Sep 19th, 2012, 03:27 PM
#1
Thread Starter
Frenzied Member
Object reference not set to an instance of an object Loading Form
i copied the following form the StackTrace line of the exception error. I am recieving this error when I click on a menustrip item in Form1 to load Form4. Form4 displays some pictures in PictureBoxes, I have verified that the pictures exist.
If I click Ok on the error message in runtime then attempt to show Form4 again the form displays however without anything in PictureBoxes
If anyone has any idea on what I should focus on I would greatly appreciate it
at WindowsApplication1.Form4.Form4_Load(Object sender, EventArgs e) in D:\Documents and Settings\bmoran\Desktop\MyStuff\smartCalc PRO TextFieldParser USB\Form4.vb:line 5
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Show()
at WindowsApplication1.Subject_Values.SubjectPhotos1ToolStripMenuItem_Click(Object sender, EventArgs e) in D:\Documents and Settings\bmoran\Desktop\MyStuff\smartCalc PRO TextFieldParser USB\Form1.vb:line 2146
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|