Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 Creating and Using Resource Files containg .AVI files

Status
Not open for further replies.

ssego

MIS
Apr 11, 2002
1
US
Using VB6, I need to create and use a resource file containing AVI files. I've tried using the code example from Microsoft's KB but get errors.

To create the Resource File I have:
1) generated the .avi
2) created a .rc file containing a line for each .avi
3) used RC.exe to generate the .RES file
4) added the .RES file to the VB Project

To Use the Resource File I have:
1) added the .RES file to the VB Project
2) tried several examples to extract the .AVI from the .RES file, but have failed each time.

Can anyone offer specific steps / code examples of exactly how to create the .RES file (if different than my steps) and share code that extracts the .avi to play using Mplayer2.exe?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top