Re: Difficulty in playing MP3 files
- From: "Scott Seligman [MSFT]" <scosel@xxxxxxxxxxxxxxxxxxxx>
- Date: 4 Jan 2007 23:11:14 -0800
"Dipesh" <dipesh.agrawal@xxxxxxxxx> wrote:
Process.Start("wmplayer.exe", @"\My Documents\My
Music\applause.mp3";
Try changing this line to
Process.Start("wmplayer.exe", @"""\My Documents\My Music\applause.mp3""");
This will surround the filename with double quotes (the "" gets turned
into a single " in a verbatim string) and should help Media Player
find the file.
--
Scott Seligman [MSFT]
This posting is provided AS IS with no warranties, and confers
no rights.
.
- Follow-Ups:
- Re: Difficulty in playing MP3 files
- From: Dipesh
- Re: Difficulty in playing MP3 files
- References:
- Difficulty in playing MP3 files
- From: Dipesh
- Difficulty in playing MP3 files
- Prev by Date: Re: Playing MP3 Files Programatically on the smartphone emulator
- Next by Date: Re: Contacts Missing
- Previous by thread: Difficulty in playing MP3 files
- Next by thread: Re: Difficulty in playing MP3 files
- Index(es):
Relevant Pages
|