none
How to remove "[Compatibility Mode]" from Word caption when opening DOC file?

    Question

  • Hi,
     I am using app.ActiveWindow.Caption = documentTitle; to set the Word 2007 window title to something other than the file name. Because I am working with DOC files rather than DOCX files, the caption not only includes my custom document name, but also "[Compatibility Mode] - Microsoft Word".  I would like to remove both additions but I would settle for removing "[Compatibility Mode]".  Is it possible?

    Thanks

    Mario
    Friday, February 13, 2009 9:04 PM

Answers

  • Hello Mario,

    I belive it's not possible. It displays the user that the document is saved in the .doc format.
    Consider saving your documents in .docx instead.

    The OpenDocument format is well documented, you even can edit the files on a server without requiring a "Word" application on your server. And there is a free plugin for Office 2003 that allows you to open and save docx files.

    However - what you can try is using plain old Windows API. Something like FindWindow and SetWindowText
    But it's not recommended and I'n not sure if it's working.

    Greets - Helmut
    Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]
    • Marked as answer by Mario Montes Monday, February 16, 2009 12:49 PM
    Sunday, February 15, 2009 6:20 PM

All replies

  • Hello Mario,

    I belive it's not possible. It displays the user that the document is saved in the .doc format.
    Consider saving your documents in .docx instead.

    The OpenDocument format is well documented, you even can edit the files on a server without requiring a "Word" application on your server. And there is a free plugin for Office 2003 that allows you to open and save docx files.

    However - what you can try is using plain old Windows API. Something like FindWindow and SetWindowText
    But it's not recommended and I'n not sure if it's working.

    Greets - Helmut
    Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]
    • Marked as answer by Mario Montes Monday, February 16, 2009 12:49 PM
    Sunday, February 15, 2009 6:20 PM
  • Thanks Helmut.
    I suspected as much. Getting a company to switch formats is easier said than done.  Perhaps the [Compatibility Mode] label is Microsoft's way of prodding people in that direction.
    Mario
    Monday, February 16, 2009 12:49 PM
  • <<Perhaps the [Compatibility Mode] label is Microsoft's way of prodding people in that direction.>>

    Even more importantly, it tells the user the certain Word 2007 functionality will not be available to him (or will not be saved in the document) as long as the document is saved in that file format. Content Controls, for example, are not supported by or saved in the old file format.
    Cindy Meister, VSTO/Word MVP
    Monday, February 16, 2009 6:03 PM
  • If you have installed Microsoft office compatibility pack for word, excel... you go to => start=> control panel=> add or remove programs to remove Microsoft office compatibility pack first.

    To remove completely in word: Start=>search> type: Normal.dot  search and delete this file.

    (remember: start=>control panel=> folder options=>view click on show hidden files and folders) you can see Normal.dot file when searching

    (you can go to  C:\Documents and settings\....\Application Data\microsoft\templates)

    Monday, July 26, 2010 12:25 PM