D
Dave M.
Hello,
I'm launching Windows Media Player successfully with the following code:
Dim myProcess As New Process
myProcess.StartInfo.FileName = "wmplayer.exe"
myProcess.StartInfo.Arguments = "\media\TestVideo.wmv /fullscreen"
This only works because I made a folder 'media' and the foldername contains
no spaces. Pointing to a file in a folder that has a space in the folder
name (such as \My Documents\ or \Storage Card\ fails, even though I
successfully check for the existance to the file before launching WMP. I'm
guessing the issue is with the way the myProcess.StartInfo.Arguments line is
parsed.
Does anyone have any ideas?
Thanks in advance for any help.
Dave M.
I'm launching Windows Media Player successfully with the following code:
Dim myProcess As New Process
myProcess.StartInfo.FileName = "wmplayer.exe"
myProcess.StartInfo.Arguments = "\media\TestVideo.wmv /fullscreen"
This only works because I made a folder 'media' and the foldername contains
no spaces. Pointing to a file in a folder that has a space in the folder
name (such as \My Documents\ or \Storage Card\ fails, even though I
successfully check for the existance to the file before launching WMP. I'm
guessing the issue is with the way the myProcess.StartInfo.Arguments line is
parsed.
Does anyone have any ideas?
Thanks in advance for any help.
Dave M.