hi there,
i am creating a basic accounts program using text files on a pda.
i have almost finished but i keep getting the same error randomly when u run the program.
on each form of the smart device application i have a picturebox for the background image. i am using jpegs for these images.
some times the program runs fine but other times i get error to do with the pcitureboxes. the errors vs.net gives me is;
An unhandled exception of type 'System.Exception' occurred in System.Drawing.dll
Additional information: Exception
and it highlights the code;
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
I do not understand why it works sometimes and not others. it has the same errors on different forms of the program, not only one.
Any help would be fantastic, as i am pulling my hair out now!
thanks in advance
i am creating a basic accounts program using text files on a pda.
i have almost finished but i keep getting the same error randomly when u run the program.
on each form of the smart device application i have a picturebox for the background image. i am using jpegs for these images.
some times the program runs fine but other times i get error to do with the pcitureboxes. the errors vs.net gives me is;
An unhandled exception of type 'System.Exception' occurred in System.Drawing.dll
Additional information: Exception
and it highlights the code;
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
I do not understand why it works sometimes and not others. it has the same errors on different forms of the program, not only one.
Any help would be fantastic, as i am pulling my hair out now!
thanks in advance