Solved

Play .AVI file

Posted on 2004-08-24
1
186 Views
Last Modified: 2010-05-02
A while back I needed an easy way to play a .wav file under program control and was given a great solution.  I simply declared:

Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

...and then placed the file path for the .wav anywhere it was needed.  My question:  Does the same kind of solution exist for playing .avi files?  Please let me know.  Thank you,

Warren Shore
0
Comment
Question by:wshore
1 Comment
 
LVL 3

Accepted Solution

by:
nichia earned 250 total points
ID: 11887642
How's this?

"How To Play an .AVI Video File in Full Screen in Visual Basic"
http://support.microsoft.com/support/kb/articles/Q171/9/81.asp
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question