|
From: Marcus <li...@wo...> - 2002-04-28 20:47:38
|
Which is the command to launch an application via the file extension?
For example a file with a .jpg extension would start with the
associated graphics viewer.
I've been using: Wx::ExecuteCommand("$cmd",0);
This is for applications, and works very well. Do I need a Wx::Shell...
command? What is the syntax?
I have used the Windows "start" command via "system()", but that is not
cross-platform.
Secondly, the latter method is currently broken on my system, which
means it could happen to other Windows installations, and is thus
unreliable.
In short, the user needs to select "file.ext" and have it run.
Thanks,
Marcus
|