F
felecha
I can get Windows Media Player to start, and play a wav file just fine
using a command line
"C:\Program Files\Windows Media Player\wmplayer.exe" c:\Temp\temp.wav
But I want it to come up from a VB.Net application, so the user will
select the recording he wants and click a button and code will call
Shell("C:\Program Files\Windows Media Player\wmplayer.exe
c:\Temp\temp.wav")
When called from my app, the wav file plays, but the Media Player
window won't come up. From a DOS prompt command line the WMP window
comes up and then plays the file.
I want the users to have the WMP window, not just hear the file.
I looked on MSDN and found a list of command line options, but nothing
in their list does any different.
Any clues?
using a command line
"C:\Program Files\Windows Media Player\wmplayer.exe" c:\Temp\temp.wav
But I want it to come up from a VB.Net application, so the user will
select the recording he wants and click a button and code will call
Shell("C:\Program Files\Windows Media Player\wmplayer.exe
c:\Temp\temp.wav")
When called from my app, the wav file plays, but the Media Player
window won't come up. From a DOS prompt command line the WMP window
comes up and then plays the file.
I want the users to have the WMP window, not just hear the file.
I looked on MSDN and found a list of command line options, but nothing
in their list does any different.
Any clues?