473,465 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Animated GIFs in VB.NET 2005

Hi.

I am making a Multimedia Presentation in VB.NET 2005 and I have some
animated GIFs which I need to use. I tried to use PictureBox for it but it
doesn't play an animation in GIFs :/. What I should do to resolve this
problem, do you have any suggestions?

Regards.
--
ZikO
GG 5557876
Nov 23 '06 #1
3 6194
"ZikO" <ze***@op.plschrieb:
I am making a Multimedia Presentation in VB.NET 2005 and I have some
animated GIFs which I need to use. I tried to use PictureBox for it but it
doesn't play an animation in GIFs :/.
The picturebox control supports playback of some animated GIFs. You may
want to play around with the options of the GDI export filter of your
imaging application. In addition, check out the 'ImageAnimator' class.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 23 '06 #2
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
"ZikO" <ze***@op.plschrieb:
>I am making a Multimedia Presentation in VB.NET 2005 and I have some
animated GIFs which I need to use. I tried to use PictureBox for it
but it doesn't play an animation in GIFs :/.
The picturebox control supports playback of some animated GIFs. You may
want to play around with the options of the GDI export filter of your
imaging application. In addition, check out the 'ImageAnimator' class.
Thanks mate.

You won't believe it but I had to load gif by Form Load Event and use

PictureBox1.Image = Image.FromFile("name.gif")

insted of loading picture by design properties!
Now it's working :). But anyway do you think ImageAnimator class would be
better way to use gifs?

Regards.
--
ZikO
GG 5557876
Nov 24 '06 #3
But anyway do you think ImageAnimator class would be better way to use
gifs?
Regards.
Nevermind :/. The ImageAnimator is better but I am not as good to understand
this class. In MSDN, there are too general examples and I am not able to
read and understand them. Thanks.

--
ZikO
GG 5557876
Nov 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shabam | last post by:
Does dot net support the resizing of animated GIFs? I've heard that it doesn't. Why is that, if it's true?
9
by: John J. Hughes II | last post by:
Is it possible using Image or Bitmap to build and save an animated GIF file? I am not have a problem saving the GIF file just getting the frames added to it. I did find ImageAnimator but it only...
2
by: Koen Hoorelbeke | last post by:
Hi there, I'm trying to read an animated gif from a url (for a banner-rotator). The code I have now, does read the gif (or jpg), but the result is that I only get the first frame of the animated...
0
by: GrandpaB | last post by:
I am creating a small simulation in VB and wish to incorporate several animated GIFS. I can load the GIFS from the hard drive into a picture box and they animate, but I have two questions. 1.)...
4
by: Helmut Giese | last post by:
Hello out there, this is OT but maybe some of you were in the past faced with the same problem: I have lots of sequences of GIF files to combine into animated GIFs. I can do it 'by hand' with...
2
by: Scirious | last post by:
People, I need a way to detect the moment an animated GIF gets to it's end to switch to a different GIF. I can't use a Timer because the GIFs have different times and doing so (as I'm doing at the...
4
by: Jeff | last post by:
Hi, I'd like to write Javascript that stops animated gifs from animating. On Firefox, at least, window.stop(); does the trick, although it stops everything on the page and is kind of...
27
by: Phil | last post by:
I thought it would be nice to display some animated GIFs on some of my forms. I put a PictureBox control on a form, and loaded my GIF file in. It animates, but not properly. It seems very jerky and...
0
by: helraizer1 | last post by:
Hey, I have a PHP script that I made for an image based shoutbox with emoticons. The problem is that php GD doesn't support animated gifs, yet perl GD does. How would I make it so that I could...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.