I'm running Windows Vista Home Premium 32-bit and using VLC 1.1.11. I'm trying to use VB.Net to list the movies on a networked drive and allow the user to select and play a movie. I'm using the 'process.start' method and passing the path of the vlc executable and the path of the networked drive and movie file as arguments. The problem appears to be that VLC does not like space characters in any part of the executable path or file name when doing this. For example, my network share name is "//tyrconnell/Brennan (f)/movies" and the file name is "3 Sovereigns for Sarah". When my code executes "process.start("c:\program files\vlc\vlc", "//tyrconnell/Brennan (f)/movies/3 sovereigns for sarah")", VLC starts but doesn't play the movie and gives the following debug information:
Debug///tyrconnell/Brennan
Debug/(f)/movies/3
Debug/Sovereigns
Debug/for
Debug/Sarah
Yet if I just navigate to the title using Windows Explorer, right click on it and select 'Play with VLC' Media Player', the movie plays just fine.
Is this a bug in VLC or am I doing something wrong in my code?
TIA...