James,

you are right that this is not related to OpenOffice itself but rather to the ActiveX. When looking at the source code of the ActiveX I see isets some values in the registry to link
the file extensions to open in IE.

I started looking to change the registry manually and this is what I found to make it work:

add a string value CLSID = {67F2A879-82D5-4A6D-8CC5-FFB3C114B69D}(class id of the ActiveX) to the following registry key:
HKEY_CLASSES_ROOT\MIME\DataBase\Content Type\application/msword

add a new registry key <.doc> under:
HKEY_CLASSES_ROOT\CLSID\{67F2A879-82D5-4A6D-8CC5-FFB3C114B69D}\EnableFullPage\

The ActiveX makes the changes in the registry to set these values for OpenOffice standard file extensions, but not for MS Office related extensions. So for people wanting to have the ActiveX open MS Office docs with OpenOffice in the same window of Internet Explorer will have to change these keys manually.

Thanks for the time you spent to help me with this issue,
Philippe


----- Original Message ----- From: "James Knott" <[EMAIL PROTECTED]>
To: <[email protected]>; <[EMAIL PROTECTED]>
Sent: Sunday, October 28, 2007 12:58 PM
Subject: Re: [users] Open MSOffice docs in IE with OO ActiveX


Philippe Zwaenepoel wrote:
Hi James,

I am still not convinced this is a windows related problem. There is
indeed a checkbox 'always use this app', it was by default checked (as
I have set OO as default app for MS Office docs in windows).
The problem is not that it does not recognize OpenOffice as the
default app to open these documents. The problem is that it should
open in the same window of IE.

In attachment a screenhot when opening an ODT file and when opening a
DOC file. You will see that the ODT file is nicely openend in the
window of IE, but not the DOC file.

OpenOffice  can only start when something starts it.  When you click on
an icon, the file association will start it.  In IE, it's not doing what
it's supposed to.  There is nothing that OpenOffice can do, to change
that behaviour.  Since this is getting out of my area of expertise,
you'll have to talk to someone who's more familiar with Internet
Explorer (an app I refuse to use, unless absolutely necessary) and ActiveX.

    ----- Original Message -----
    *From:* James Knott <mailto:[EMAIL PROTECTED]>
    *To:* [email protected] <mailto:[email protected]> ;
    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    *Sent:* Thursday, October 25, 2007 7:05 PM
    *Subject:* Re: [users] Open MSOffice docs in IE with OO ActiveX

    Philippe Zwaenepoel wrote:
    Hi James,



    Yes indeed, all MS Office files are associated to OpenOffice 2.3,
    see screenshot in attachment. The pop up I receive after

    clicking on a *.doc link in IE is one that asks to open the doc
    in OpenOffice.



    I looked into the code of the ActiveX, in the so_activex.cpp
    file. I don't extactly know if this could be the issue but
    starting  from line 400

    (this is the link to the source code

http://www.koders.com/cpp/fidAC2258223FD00A0152B7FF2C280F5996004295B8.aspx)


    I see a mime type association to MS Office applications for MS
    Office file extensions.



    Here the procedure I followed to investigate this obstacle:

    - Creation of an HTML file containing 2 links, one to an *.odt
    file, the other to a *.doc file

    - I associated the doc filetype (and othe MS Office filetypes) to
    OpenOffice 2.3

    - The ActiveX component has been installed together with the
    installation of OpenOffice 2.3

    - When opening the *.odt file from the HTML in IE, it opens in IE

    - When opening the *.doc file from the HMTL page in IE, it
    provides a popup to open the document in OpenOffice

    This is definitely an issue with Windows and not OpenOffice.  When
    you get that popup, is there a check box to always use that app?
    If so, check it and you should be OK.


-- Use OpenOffice.org <http://www.openoffice.org>

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Use OpenOffice.org <http://www.openoffice.org>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to