Windows Develop Bookmark and Share   
 index > Windows Forms General > Image Box problem
 

Image Box problem

hey,

I added a image box to my program, the image is an animated .gif file, but for some reason Visual basic 2005 express will not put the animated .gif onto the imagebox...what can I do to make it so it will accept animated gifs?

progames25  Wednesday, February 15, 2006 3:45 AM
What do you mean by "will not put"? Is there any thrown exception when loading GIF image into a PictureBox? Or your GIF is loading but not animating?


-chris
Chris Vega  Wednesday, February 15, 2006 9:16 AM

what I mean is, when I select the image it will now show it, as if I never selected one yet...

If I put a non animated gif then it will show it in the picture box, but if I change the image to a different image, the animated gif, if I press OK, then what will happen is it will close the chose image diaglog and keep it the same image that I had before, so it wont let me use animated gifs....

progames25  Wednesday, February 15, 2006 4:08 PM

so, uuuuu, any ideas on what I should do?

and this might help, it is a program that let's you make your own Emotion Icons by draging and droping the images, and some are animated...

progames25  Friday, February 17, 2006 5:20 AM
Have you tried searched in the forum? I found quite many articles talked about this issue. Some of them are using the PictureBox.
cwlaualex  Friday, February 17, 2006 6:26 AM
I looked, but what I found was no help...
progames25  Saturday, February 18, 2006 12:48 AM
Is there a possibility that this only happens on design-time but not on run-time? I been using PictureBox in several projects I created which I loading them animated images, but I don't experience the problem of not animating?

Probably you should check your GIF files too, try loading them to Internet Explorer and see if it is animating. If so, the PictureBox shouldnot have problems animating the images.

Regards,

-chris
Chris Vega  Tuesday, February 28, 2006 4:19 AM
They work fine...Like I said in the first post..If I try and add a animated image to the form it will eather show up as a empty imagebox or the last Image I used..................
progames25  Wednesday, March 01, 2006 2:47 AM
Hi, you have many mention of ImageBox while in .NET we use PictureBox control. Are you using 3rd party control to load your animated GIF? If so, probably this is a problem of the control you are using, and it is better to contact the developer of the control.

Regards,

-chris
Chris Vega  Friday, March 03, 2006 6:06 AM

sorry,

thats what I eman is picturebox

3rd party control? what?

progames25  Saturday, March 04, 2006 10:06 PM

You can use google to search for other answers

Custom Search

More Threads

• Append Array of objects in Datagridview
• HOW CAN I DESIGN MY OWN TOOLBOX CONTROL
• Deployment Project
• Working with modal forms in windows c#
• How do I display two Windows Forms Simultaneously (perfer the CLR CLI version of Code) (C++)
• Getting order of sorted ListView
• Custom control creation problem
• how do u change the appearance of the windows and buttons
• Cntl - A or Cntl-F in a multiline text box
• Displaying Sorting status in Windows Forms ListView in .Net 3.5