Solved

Play .AVI file

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vba find the last empty column 10 88
SSRS expression Issue finding a string 10 65
Access 2013 combo box not working 3 38
clicking a shape in a frame array vb6 3 39
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

914 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

15 Experts available now in Live!

Get 1:1 Help Now