Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to display animated GIF in Visual Basic .NET ?

Posted on 2007-11-18
5
1,104 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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 use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 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