?
Solved

How to display animated GIF in Visual Basic .NET ?

Posted on 2007-11-18
5
Medium Priority
?
1,109 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

801 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