PictureBox Problem

  • Thread starter Thread starter Justin
  • Start date Start date
J

Justin

I created a panel. Then I created 4 picturebox's inside that panel. I
added an image to each picturebox and I can see the images in my project.
However when I run my project I don't see the images.

If I hardcode the image file names then it works fine. However I don't want
the files to be local, I want them included in the project.

Why can't I set the images at design time? Or, how do I properly load the
images into my project?

Thanks for any help!
 
Ugh, we still have to use those? Ok, then. I'll use that.

If I may ask, what's the point of using the image property at design time to
point to a file when it doesn't seem to actualy do anything?

Thanks for the info!




Thanks, Justin Emlay System Administrator Maisto International, Inc.
909-357-7988 ext.360 909-357-9958 fax (e-mail address removed) www.maisto.com
 
Ugh, we still have to use those? Ok, then. I'll use that.

If I may ask, what's the point of using the image property at design time to
point to a file when it doesn't seem to actualy do anything?

Thanks for the info!




Thanks, Justin Emlay System Administrator Maisto International, Inc.
909-357-7988 ext.360 909-357-9958 fax (e-mail address removed) www.maisto.com
For picture boxes in a container, here, I have to import the images into the project
image resources and then at runtime, load the resource file:

Me.PictureBox1.Image = My.Resource.SomeResourceName

Gene
 
I knew there was a reason I hated the imagelist. Isn't there a size limit
of 256 pixels? I'm far beyond that size.
 
Back
Top