How to display animated GIF in Visual Basic .NET ?

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 ?

siacomAsked:
Who is Participating?
 
Jaime OlivaresSoftware ArchitectCommented:
does image appear in the picturebox?
at design time? at runtime?
how are you showing? SizeMode? try with stretch
0
 
siacomAuthor Commented:
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
 
siacomAuthor Commented:
doesn't work with strecht either.
0
 
Jaime OlivaresSoftware ArchitectCommented:
does image appear at design time?
have you tried with other animated and non-animated gifs?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.