Solved

Play .AVI file

Posted on 2004-08-24
1
183 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now