Playing a file
-
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe") and an audio file( audio.wav ), How can i play the file in runtime? thanks in advance.
KIRAN PINJARLA
-
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe") and an audio file( audio.wav ), How can i play the file in runtime? thanks in advance.
KIRAN PINJARLA
-
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe") and an audio file( audio.wav ), How can i play the file in runtime? thanks in advance.
KIRAN PINJARLA
kiran.pinjarla wrote:
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe")
Why on earth do you need to know the path of wmplayer.exe? Just open the .wav file with ShellExecute() and the application that is associated with this file type will open it for you.
Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா
-
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe") and an audio file( audio.wav ), How can i play the file in runtime? thanks in advance.
KIRAN PINJARLA
Yes Dear, First u fill the structure which u ll have to pass as a parameter in ShellExecute() method. You dont need to know the path of player which is going to play that file. Abhijeet
-
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe") and an audio file( audio.wav ), How can i play the file in runtime? thanks in advance.
KIRAN PINJARLA
Use of
ShellExecute
and dont forgot to insert two\\
instead\
WhiteSky
-
If i have the wmplayer path as ("C:\program files\windows media player\wmplayer.exe") and an audio file( audio.wav ), How can i play the file in runtime? thanks in advance.
KIRAN PINJARLA
You can try also MCIWndCreate.