brace
2011-Mar-22 14:30 UTC
[Wine] ShellExecute: how to open files with default application?
Hi, I am trying my win32 app on wine. Everything works fine but I have a problem when opening a file. For example I need to open with ShellExecute a test.txt file. In this case I have no problems since it opens Windows Notepad.txt. But in case I open a doc (MS Word Document) how can i do? I mean imagine I have OpenOffice installed on my Ubuntu, do I need to install OpenOffice under Wine or is there a way to "map" the ShellExecute calls? Something like: 1) in case of txt -> use notepad.exe (so from wine) 2) in case of doc -> use OpenOffice as installed on Ubuntu 3) in case of dwg -> use Autocad (from wine) if this is not possible is it at least possible to always use the Ubuntu application? (so instead of Notepad.exe use Gedit, ...) Thanks.
brace
2011-Mar-23 08:01 UTC
[Wine] Re: ShellExecute: how to open files with default application?
By installing under Wine a pdf reader and OpenOffice now I am able to open all files (doc, pdf, txt...). But anyway this is a workaround. Is there a way to tell Wine/ShellExecute to use Linux applications? Like html links, with those Linux browser is activated. Thanks!