Hi all.  I'm trying to arrange for my embedding application to be set
up as the default handler for an application-specific filetype when
linked in the content viewed in the embedded browser (does that make
sense?).  I'm sure there are ways to do this with code changes, but it
seems I should be able to do this just by editing mimeTypes.rdf to
include an entry for my filetype.

This seems to work on the mac platform, assuming I have filetype and
creator entries for my application's files set up properly with the OS.
 In this instance, I have "useSystemDefault" set to TRUE, and my
application will get an ODOC message when the link is clicked.
However, on Windows this does not appear to work.  My application is
registering the appropriate DDE entries, I believe (associating itself
with the file extension), but my application does not get any kind of
"open document" message.  However, if I view the HTML file w/ the link
in Firefox, I do get prompted to open the file with my application
(however, I can't set it to automatically open this filetype with the
chosen application?)

Can anyone help clarify how things need to be set up to get this to
work?  Am I heading down the right path?  I'd like to avoid hard-coding
an application path in the file if possible (which seems like a common
way to set up helper applications).

Thanks

J

_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to