CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    St-Petersburg (Russia)
    Posts
    32

    AVI as a VB Resource



    Hi, I want to use the Animation Control to play an avi movie in one of my forms.


    When I ship this this, I want the AVI to be part of the executable, not a standalone file. How can I do this?


    I have put an AVI in my exe as a custom resource, how can Iplay this then?


    Thanks!


    - Alex

  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: AVI as a VB Resource



    Hi


    I've never used the Animation control in VB, but I have created a animation window using the Win32API which uses AVI's in a resource file - take a look at :


    http://www.codeguru.com/vb/articles/1638.shtml



    Regards


    Chris Eastwood


    Codeguru - the website for developers

    http://www.codeguru.com/vb




    Animated Dialogs in VB5 (Free source code for ActiveX DLL)

  3. #3
    Join Date
    May 1999
    Location
    St-Petersburg (Russia)
    Posts
    32

    Re: AVI as a VB Resource



    Thanks Chris, that looks perfect! I'll give it a try.. I already got it working using another OCX I fount on the CCRP(Common Control Replacement Page), but your solutionlooks like it will be lighter.


    - alex

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured