• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

ActiveMovie Control

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
yingchunli
Asked:
yingchunli
1 Solution
 
Tommy HuiCommented:
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
 
yingchunliAuthor Commented:
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now