Click here to Skip to main content
15,867,929 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This will be short.

How do you play a GIF on a form?

Things to consider:
1) webbrowsers cannot access My.Resources, where the GIF will be located
2) I don't know any way to get a GIF playing except with a webbrowser.

Does anyone know a technique?

(Maybe using e.graphics?)
Posted

1 solution

You can either drop a picturebox on your form and use that to display the GIF or look at a non-picturebox alternative such as this[^].

Frankly, I'd go the hard route as it's more flexible.
 
Share this answer
 
Comments
[no name] 22-Mar-13 15:05pm    
I did picturebox, it's fine
Thanks anyway :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900