vb.net picturebox too small

For some reason, I am only seeing the top left corner of my picture in my picturebox.

Any suggestions?

the image is bigger than that, and so is the picturebox
jackjohnson44Asked:
Who is Participating?
 
Shakti109Commented:

Are you getting the image from an imagelist?

If so, they have default size attributes of 16x16.

Increase the Imagesize width and height to the size of the image itself (in pixels).
0
 
carmodykCommented:
On the behavior section of the your picturebox properties, set the sizeMode to StreatchImage.
0
 
jackjohnson44Author Commented:
I tried that, I don't want to stretch it, it is just showing a small piece of the image, the left corner.
When I stretch it, it shows the same small piece, just stretched.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
carmodykCommented:
What format is the picture in?  Just for laughs, change the picture format to something else, like .BMP or JPG.
0
 
carmodykCommented:
Or just try another picture, see if you get the same results.
0
 
jackjohnson44Author Commented:
I just figured it out when I added them to my image box, I didn't specify the correct size.

Thanks for your help.

Is there a reason to use a image box?

I don't know where they will be at runtime, I don't want to have to include them on the clinets machine in a directory.

0
 
carmodykCommented:
No, you'll be fine.  Once an image has been added to the form via a picturebox, it's going to stay with the form.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.