Click to See Complete Forum and Search --> : ?program to play a series of files in VC++.net?


rosymary
June 30th, 2006, 01:24 AM
Hi, can somebody tell me:

how to have a Windows Media Player control play a series of .wav files in
VC++.net?

Thanks!

rosymary
June 30th, 2006, 01:43 AM
Hi, can somebody tell me:

how to have a Windows Media Player control play a series of .wav files in
VC++.net?

Thanks!

cilu
June 30th, 2006, 02:07 AM
When you say VC++.net do you mean managed code or is it just a term to indicate VC++ 2002 or 2003?

Here are several links:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmpsdk11/mmp_sdk/creatingtheplayercontrolprogrammatically.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directshow/htm/directshow.asp

rosymary
June 30th, 2006, 03:42 AM
thank cilu!

I'm programming in Visual Studio.Net 2003 with VC++.net language.

I've tried according to the instructions found on msdn, but no progress's done.

(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playlistappenditem.asp)

I just wonder, say, if I want to successively play "a.wav","b.wav" and "c.wav" at the page_load event, should I append them to a playlist?
If yes, what will the codes be?
(suppose the .wav files are at the same path with my form application)


Any help, thanks!

cilu
June 30th, 2006, 04:29 AM
Take a look at this article.

http://www.softlookup.com/tutorial/vc++/vcu37fi.asp

cilu
June 30th, 2006, 04:35 AM
[ merged threads ]

rosymary
June 30th, 2006, 05:36 AM
Take a look at this article.

http://www.softlookup.com/tutorial/vc++/vcu37fi.asp


There seem to be little here that applies in my case...

Thanks all the same ^_^

cilu
June 30th, 2006, 02:45 PM
OK. What about this one?

http://www.informit.com/articles/article.asp?p=101752&rl=1