22 January 2010

Use embedded IE in FHP to show Office documents

You can use embedded Internet Explorer control, hosted by FHP, to show Office documents. But, by default, IE will open them as read-only, even if they are local files. If you are using SharePoint server, you can notice that it opens Office documents as read/write in that case.
So, in order to resolve this behavior so that IE opens documents that are in the Internet or Local intranet security zones with read/write permissions, you must add the following registry key:

• For Office XP
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\Internet\OpenDocumentsReadWriteWhileBrowsing = 1

• For Office 2003
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Internet\OpenDocumentsReadWriteWhileBrowsing = 1

• For the 2007 Office system
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Internet\OpenDocumentsReadWriteWhileBrowsing = 1

No comments:

Post a Comment