Open a File using Create Process in VB.net 2003

  • Thread starter Thread starter Florian.Weber
  • Start date Start date
F

Florian.Weber

Hi all,
I want to open a file using a .exe on my ppc.

My First stepp was :

CreateProcess("\Folder\Player\vlc.exe", 0, 0, 0, 0, 0, 0, 0, 0, 0)

with this i could open the exe.

Now I want to start the application with a specified File

I used this:
CreateProcess(0, "\Folder\Player\vlc.exe", "\Folder\File\test.mp3",
0, 0, 0, 0, 0, 0, 0)

This didn't work.

What did I do wrong ?
Or is there a better way to go.
Is it possible to use the open dialog of the PPC File Explorer ?

Thanks
-=Florian-=-
 
Your code looks fine. Are you sure that the target app supports opening
files from a command line? Are you sure you have the command line right?

-Chris
 
Thanks, that was the problem the prog. didn't support opening
files from a command line.

-Florian
 
Back
Top