Results 1 to 2 of 2

Thread: AVI Files

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2001
    Posts
    47

    AVI Files

    I have a resource file which contains AVI's. I want to be to play the avi's on a VB 6 form. I have code which will do it and works using actual avi files, but can't seem to get it to work with resource id's.

    The code I got from Karl Peterson's web site and is attached.

    Can some one help me or point me in the right direction or alternatively tell where I can get a class to play the AVI file, rather than use the Multimedia control.

    Thanks

    BB
    Attached Files Attached Files

  2. #2
    Fanatic Member McCain's Avatar
    Join Date
    Jan 2002
    Location
    Sweden/Denmark
    Posts
    802
    I haven't had a look on you code but I think the problem is that you have to save the avi you want to play as a tempfile on your harddrive before you open it...
    You might want to have a look at this pdf http://www.ibirbal.com/downloads/vbrfkn.pdf it will tell you how to save gif and jpg files to tempfiles on you harddrive - shouldn't be too hard to make it work with avi's
    Never argue with fools, they will only drag you down to their level, and beat you with experience.

    Q: How do you tell an experienced hacker from a novice?
    A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer

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