Solved

How to display animated GIF in Visual Basic .NET ?

Posted on 2007-11-18
5
1,100 Views
Last Modified: 2008-02-01
Hi,
RE: Visual Basic .NET 2005 using .NET version 2.0.50727.42
Using Visual Studio 2005 with the latest service packs.

I am trying to display an animated GIF in a picturebox or on a form in visual basic .NET 2005
One strange problem I noticed is that not even JPG or PNG files will show properly.

Can someone please provide a simple example of how to display animated GIF ?

0
Comment
Question by:siacom
  • 2
  • 2
5 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20309359
does image appear in the picturebox?
at design time? at runtime?
how are you showing? SizeMode? try with stretch
0
 

Author Comment

by:siacom
ID: 20309369
I am not using any size mode like stretch or zoom.

What appears are one of two things.

1 - A one color box where the image animation should be. usually grey.
2 - A transparent spot where the image should be, so I can see a box of the window behind the image ?

0
 

Author Comment

by:siacom
ID: 20309397
doesn't work with strecht either.
0
 
LVL 18

Accepted Solution

by:
Priest04 earned 500 total points
ID: 20309577
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20309599
does image appear at design time?
have you tried with other animated and non-animated gifs?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now