> 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.
You could use wxMimeTypesManager, if it were wrapped. I may try to wrap it
for 0.11 ( since wxWindows 2.3.3 may be released later than mind-may, sigh... ),
but no promises. If I do it, I'll notify you.
Regards
Mattia
|