Solved

ActiveMovie Control

Posted on 1998-01-07
2
181 Views
Last Modified: 2013-11-20
On my computer I can use ActiveMovie control to play .au file by double clicking  on  the .au file icon. I just want to know how to write a C++ or MFC program to play .au files one by one automatically using the ActiveMovie control.  Thanks.
0
Comment
Question by:yingchunli
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 30 total points
ID: 1313571
If you can double-click on an .au file and that plays it, that means there is an association on that extension. So, you can simulate that by using ShellExecute() to play the file.


0
 

Author Comment

by:yingchunli
ID: 1313572
ShellExecute() works basically. But, as I run the MFC program to play .au file, I still need to push play-button on the control manually. So it is not "automatic".  It might need some special flag setting(??).  If you have idea about it, please let me know.  Thanks.
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
List out all word 7 257
sumDigits challenge 9 123
centeredAverage challenge 8 130
zeroFront challenge 7 80
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

19 Experts available now in Live!

Get 1:1 Help Now