Word 2007/2010 related

Add-in Express™ Support Service
That's what is more important than anything else

Word 2007/2010 related

Posts: 15
Joined: 2009-11-13
Sorry to ask this question here (not directly related to addins), but you seem to be very skilled in Office OLE object interfaces / parameters.

Is there a way to force Word to ignore the windows "hide extension of known file types" option ?

With this Option enabled, if I try WordApp.FileOpen('test.doc') it fails, where WordApp.FileOpen('test') is OK and this is very annoying feature, I don't want to change the name of the files depending on some windows parameter !

[of course real file name is 'test.doc' and not 'test']

Posted 22 Apr, 2011 16:11:58 Top
Dmitry Kostochko

Add-in Express team

Posts: 2841
Joined: 2004-04-05
Hi Stephane,

Please try to use the Open method of the Documents collection. As far as I remember this method has always worked regardless of the Windows settings.
Posted 25 Apr, 2011 05:25:07 Top