PDA

Click to See Complete Forum and Search --> : Invalid picture...?


desquite
Jan 11th, 2000, 08:44 PM
I have a little vb program that uses the ImgEdit control. Every once in a while the program will load and display 'Invalid Picture' and bomb out. Any idea what causes this and how to fix it?

Thanks!

johnpc
Jan 12th, 2000, 11:47 AM
What is the ImgEdit Control? Do you mean the
Image Control? If so, is a file with the same name as your form created with a frx extension? If so this usually means that you
loaded the Image (Icon, Bitmap) from a different Folder than that which your project
resides. This could lead to a lost Image if you eliminate the frmFile.frx file in your Project's Folder. Put the bitmap or icon in your project's folder and this should eliminate the problem.

------------------