What happened to image control?
It was there in VB 6. I have some images that I'm going to use a buttons, and I did this in VB 6 with the image control. however, this control doesn't appear to exist in VB.NET 2008 Express. I guess I could use a picture box, but isn't that overkill for such a simple task? Thanks.
Re: What happened to image control?
No, the picture box is actually an extremely useful tool. Far superior to the image control. Alternatively you could just use a panel and set its background image to whatever image you want. That has the equivalent functionality to an imagebox.
Re: What happened to image control?
Ok, I have tried with a picturebox and a panel control. I set the background image of my form (it's a .PNG), added as a .resx file to the project and it shows up. However, when I try to add my other images, in a picturebox or a panel control with the same method, the image doesn't show up in the control, the control just remains gray? Any ideas? (all images are .png files)
Re: What happened to image control?
Ok, got that resolved. Was an un-related issue with the Canvas size of the buttons. The person that made the buttons for me had a canvas size of 500 x 500 and didn't size the canvas down to just the button size. :) However, I have one other problem. My buttons are transparent .pngs, and it doesn't look like the picbox control or Panel control can have the back color set to transparent. Is there any way I can accomplish this in VB.Net 2008 Express? Thanks for any suggestions.