Animated Transitions

Hi. I am trying to develop a program in which needs an animation when a button is clicked. The program will function somewhat like RocketDock, but will be triggered by the click of a button instead of a mouse hover. I know how to trigger a picture by the click of a button, but I need it to be animated. I have the animation ready, both in a video format and in a GIF format. If I have to use the GIF, it cannot loop; it must stop at the end of the animation. I have Visual Studio 2013 in which I have been working in, but I am willing to learn a new program if needed. Any ideas? Thanks.

 

Edit: I have been using the basic language of Visual Basic. I am, however, willing to change that to a more complex language if needed.

You haven't given us enough information to help you really. VS is an IDE that supports multiple languages, and we'd need to know which one you're using before pointing you in the right direction.

Sorry about that. I have been using the basic language of Visual Basic within Visual Studio. However, I am fully willing to change that, but I'm sure that's for another time.

A google search brought this up. It looks like a good resource for what you're trying to do.

http://social.msdn.microsoft.com/Forums/vstudio/en-us/44f84924-636b-4f6a-a551-64e5ad1eef13/faq-how-do-i-play-audiovideo-files-in-vbnet?forum=vbgeneral

You probably would be most interested in the "Use this code to lay a video file on a Panel control:" section.