Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to display animated GIF in Visual Basic .NET ?

Posted on 2007-11-18
5
Medium Priority
?
1,113 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
[X]
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
  • 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 2000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

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…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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