how to run media player programmatically on a smartphone
Dear All,i am executing
System.diagnostics.Process.Start("xxx.wmv","") statement to run .wmv file on my smartphone emulator in visual studio.net 2005.
It is giving some alert message,"Cannot play the file or the file format was not supported".
But it succesfully runs on emulator when i copied to shared folder.
I just could not run using
System.diagnostics.Process.Start("xxx.wmv","")
help me ,
Thanx
Thanx for the reply,
When i tried,
System.Diagnostics.Process.Start(@"\windows\wmplayer.exe","xxx.wmv")
It just could not open Media Player itself as the path "windows\wmplayer.exe" is not recognized.But when i use "wmplayer.exe" it opens but could not play the file.
Let me know if there ia nay other way to make emulator to recognize my file path.
I also have tried by passing whole path.
Help me,
thanx
hai Eugene,When i try,
"System.Diagnostics.Process.Start(@"\Windows\wmplayer.exe","xxx.wmv")"
It opens player but could not play.
I have send some incorrect information in my last reply.
Its giving error message as,
"Can not play the file,Either file is corrupted or insupported format"
But this file is running when i copied it to the shared folder and played it manually.
Help me,
Thanx