Preventing OpenOffice.org From Opening MS Office and HTML Files If you weren't paying extremely close attention when you installed, you probably left the default setting on, the one that automatically opens HTML (and HTM and SHTML) files in the program. The same defaults were applied to Microsoft Word, Excel, and PowerPoint files. If OpenOffice.org isn't your preferred editor for any of these types, you can disassociate it from those files quite easily. Windows Do either of the following: -
Use your operating system tools (View > Folder Options in some versions) to change the application associated with your HTM, HTML, and SHTML files, and Microsoft files. -
Choose Start > Run and in the Open field, type a path like the following, entering the correct path to your Microsoft Office directory, where program.exe represents the appropriate program file for the program that you need to register ( word.exe , excel.exe , powerpnt.exe ). C:\Program Files\Microsoft Office\Office\program.exe /regserver Solaris CDE -
Locate the ~/.dt/types/ office .dt file. -
Always take appropriate precautions when editing system configuration files; back up this file before you continue. -
Remove the HTML data below from the office .dt file, then log out of your computer and log in again. (You have to restart your operating system; it's not enough to restart the program.) DATA_ATTRIBUTES StarOffice_HTML { ACTIONS Open ICON Html } DATA_CRITERIA StarOffice_HTMLA { DATA_ATTRIBUTES_NAME StarOffice_HTML MODE !d NAME_PATTERN *.html } ACTION Open { ARG_TYPE StarOffice_HTML TYPE MAP MAP_ACTION StarOffice } -
If completing this section doesn't work, look for any other . dt files, such as Old- office .dt , and rename them with .old after the . dt . For example, rename Old- office .dt to Old- office .dt.old. |