Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
AnimationControl
posted

It's nice you can play your own avi files using the AnimationSource = AviFile, however from a enterprise deployment standpoint, it would be difficult to manage avi files along with all the assemblies and exes. Is there a way I could point to an embedded resource? I certainly hope there is...

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    The AnimationControl is a wrapper for the MS Common Controls Animation Window class and as such it doesn't have any way to deal with a Stream object in DotNet. So there's no way to read directly from an embedded resource.

    You could, of course, use the embedded resource to create a temp file on the users system and then load that into the animation control.