Solved

How to show a gif animated image in visual basic

Posted on 2002-05-22
11
238 Views
Last Modified: 2013-11-25
Hi,
I tried to view gif animated image in the picture box and image box. But i was not able to see it animated in the picture and image box. Please let me know how can i view the gif animated image in visual basic.
Thanks and regards,
+Anil
0
Comment
Question by:anilgupt
  • 5
  • 4
  • 2
11 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 7026762
No you cannot, you can however view it in the webbrowser control. If you add the Microsoft Internet Controls component to your project and then place a webbrowser control on the form you can do this:

WebBrowser1.Navigate2 "c:\documents and settings\ticotte\my documents\my pictures\gate_swing_md_wht.gif"

For example to display an animated GIF.
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 7026765
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 7026794
Why was that deserving of a 'C' grade? Just because it cannot be done easily doesn't mean the answer is any worse. If you continue to grade in this manner you are likely to lose input from many experts.
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7026892
anilgupt

Could you please explain why expert TimCotte only received a "C" grade for his answer? Please provide feedback if you are not happy with an answer and our experts will try to clarify their comments.
Here are the guidelines for grading:

A: The Expert(s) either provided you with a thorough answer or they provided you with a link to information that thoroughly answered your question. An "A" can also be given to any answer that you found informative or enlightening beyond the direct question that you asked.

B: The Expert(s) provided an acceptable solution, or a link to an acceptable solution, that you were able to use, although you may have needed a bit more information to complete the task.

C: Because Experts' reliability are often judged by their grading records, many Experts would like the opportunity to clarify if you have questions about their solutions. If you have given the Expert(s) ample time to respond to your clarification posts and you have responded to each of their posts providing
requested information; or if the answers, after clarification, lack finality or do not completely address the issue presented, then a "C" grade is an option. You also have the option here of just asking Community Support to delete the question.

** Mindphaser - Community Support Moderator **
0
 

Author Comment

by:anilgupt
ID: 7026912
Sorry TimCoffee, If this hearted you. Actually you provided the right answer but this does not provide much help to me. Please let me know how i can update this grade?
Rgards,
+Anil
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:anilgupt
ID: 7026915
Sorry TimCoffee, If this hearted you. Actually you provided the right answer but this does not provide much help to me. Please let me know how i can update this grade?
Rgards,
+Anil
0
 

Author Comment

by:anilgupt
ID: 7026922
Sorry TimCoffee, If this hearted you. Actually you provided the right answer but this does not provide much help to me. Please let me know how i can update this grade?
Rgards,
+Anil
0
 

Author Comment

by:anilgupt
ID: 7026924
Sorry TimCoffee, If this hearted you. Actually you provided the right answer but this does not provide much help to me. Please let me know how i can update this grade?
Rgards,
+Anil
0
 

Author Comment

by:anilgupt
ID: 7026927
Sorry TimCoffee, If this hearted you. Actually you provided the right answer but this does not provide much help to me. Please let me know how i can update this grade?
Rgards,
+Anil
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 7026994
I can understand that it doesn't help much as the simple fact is that these controls do not support animated gifs. I have given two solutions that can be used instead which is as much as you would get from anyone. If you had waited for other input before accepting a comment I believe that you would have got the same answers. That said the answer as such is not worth a 'C', I would have accepted a 'B' as this seems to be a default though of course I would prefer an 'A'.
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7027850
anilgupt

You can't change the grade yourself, but you can always ask me to change the grade of Tim's answer. Just let me know to what ... 'A' or 'B' ? No 'F' please :-)

** Mindphaser - Community Support Moderator **


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now