PDA

View Full Version : File.Run and Bsplayer sleeping


canario
05-21-2005, 08:36 PM
Hi,
This is my first message and I don't speak english, so be patient ;)

I'm trying to load an AVI with bsplayer and I'm using an INI file with all the options I need (subtitles, windows size...)
From a DOS windows I can execute "bsplayer.exe file.ini" and it's OK.
When I try to use the File.Run command the bsplayer run but the film doesn't start. I think it's for the argument. Some of my tests:

File.Run("autoplay\\docs\\bsplayer.exe", "file.ini"...)
File.Run("autoplay\\docs\\bsplayer.exe", autoplay\\docs\\file.ini"...)


and many more stupid things :huh
Some ideas??
Am I so stupid like you're thinking?? :D :D
Thanks

JimS
05-22-2005, 03:11 AM
Welcome to the forums,
try this:

File.Run("AutoPlay\\Docs\\MyProg.exe", _SourceFolder.."\\AutoPlay\\Docs\\file.ini", "", SW_SHOWNORMAL, false);


.

canario
05-22-2005, 05:50 AM
Oh, thanks, but nothing change.
I'm thinking if it's a bsplayer problem, maybe?

JimS
05-22-2005, 02:48 PM
Try this:


File.Run("AutoPlay\\Docs\\MyProg.exe", \”.._SourceFolder..\\AutoPlay\\Docs\\file.ini\”", "", SW_SHOWNORMAL, false);





.