[Qt-interest] How to open email attachment with new extension, new file type

Shane Calimlim shane at wayforward.com
Fri Apr 22 23:15:04 CEST 2011


On Windows, file associations are in the registry under
HKEY_LOCAL_MACHINE\Software\Classes, not sure about other platforms.

On Fri, Apr 22, 2011 at 11:16 AM, Manjeet Bothra
<manjeet.backup at gmail.com> wrote:
> Hi,
> I have a program "myxyz" which opens the file which is input as first
> command line argument and has a specific format.
> For ex: "myxyz abc.xyz" will open and render the file abc.xyz.
> Now when I open an email attachment which contains file abc.xyz I want my
> program to launch it. How can I tell the email client to launch my program
> when dealing with such types ?
> currently when I open the attachment it says something like file type not
> supported.
> Kindly let me know.
> thanks,
> Manjeet
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>



More information about the Qt-interest-old mailing list