[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1115
  • Last Modified:

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 ?

0
siacom
Asked:
siacom
  • 2
  • 2
1 Solution
 
Jaime OlivaresCommented:
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
 
Priest04Commented:
0
 
Jaime OlivaresCommented:
does image appear at design time?
have you tried with other animated and non-animated gifs?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now