Showing Animated Gif
-
Hello I want to show Animated Gif on start form of my application. But i don't know which control can do this!? I used PictureBox, Panel, ... but all of them just show first frame like a picture and there is no animation. Finally i used Label control that shows animation incorrectly and don't show some frames. I know i should use PictureBox but should i set some properties which i don't know about them? Please send me your suggestions... Tanx
-
Hello I want to show Animated Gif on start form of my application. But i don't know which control can do this!? I used PictureBox, Panel, ... but all of them just show first frame like a picture and there is no animation. Finally i used Label control that shows animation incorrectly and don't show some frames. I know i should use PictureBox but should i set some properties which i don't know about them? Please send me your suggestions... Tanx
Hi, Well, as a first idea, I would say to use the original HTML tag; unless you need PictureBox for some other processing later. But if it is just to display a simple GIF animation, this will most probably work, unless your GIF animation wasn't compiled correctly in the first place.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
-
Hi, Well, as a first idea, I would say to use the original HTML tag; unless you need PictureBox for some other processing later. But if it is just to display a simple GIF animation, this will most probably work, unless your GIF animation wasn't compiled correctly in the first place.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
Hi again Dear friend i'm developing windows form application. tag is using in WebForms. No, there is no problem with gif image. Tanx
-
Hi again Dear friend i'm developing windows form application. tag is using in WebForms. No, there is no problem with gif image. Tanx
Oops sorry, I didn't notice that. I should have, though, since PictureBox is a Windows Forms control and not a Web Forms control. Well anyway, as I know it, animated GIFs only work with web pages and I don't think you can make them work with a windows application. Please get another opinion on this matter because i'm not 100% sure about that but I have personally never seen an animated GIF on a windows forms application. Sorry that I can't be of more help.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
-
Hello I want to show Animated Gif on start form of my application. But i don't know which control can do this!? I used PictureBox, Panel, ... but all of them just show first frame like a picture and there is no animation. Finally i used Label control that shows animation incorrectly and don't show some frames. I know i should use PictureBox but should i set some properties which i don't know about them? Please send me your suggestions... Tanx
Try this http://weblogs.asp.net/justin_rogers/archive/2004/01/19/60424.aspx I would try to read the article myself and explain it, but i'm just too lazy for that right now... I know I have a book somewhere that explains it better and simpler. I'll post the code if I find it.