Microsoft KB Archive/290751

= You cannot open .htm or .html attachments when you use Outlook as a published application in Citrix Metaframe =

Article ID: 290751

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition
 * Microsoft Outlook 2000 Standard Edition
 * Microsoft Outlook 98 Standard Edition
 * Microsoft Outlook 97 Standard Edition

-



This article was previously published under Q290751



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
When you use Microsoft Outlook to view message attachments in Citrix Metaframe as a published program, you may receive the following error message when you open the .htm or .html attachment:

The system cannot find the file specified.

Microsoft Internet Explorer opens to the default home page.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

By default, both .htm and .html file types are configured with the old Dynamic Data Exchange (DDE) style. This style passes window messages to the Internet Explorer that points to a FILE:// URL, suppresses the startup logo, and forces a new window to be used.

You cannot change the file-type association on a Terminal Server computer that is running in program server mode or in application server mode by using the GUI in Internet Explorer.

You must use Registry Editor (Regedt32.exe) to change the way .htm and .html files are handled. To do this:  Click Start and then click Run. In the Open box, type regedit, and then click OK. Navigate to the ddeexec registry subkey under the following registry key:

HKEY_CLASSES_ROOT\htmlfile\shell\opennew

 Click the ddeexec registry subkey and then delete it. Navigate to the command registry subkey under the following registry key:

HKEY_CLASSES_ROOT\htmlfile\shell\opennew

 Double click the Default value in the right hand pane.</li> Add a &quot;%1&quot; to the end of the string so that it looks like the following:

&quot;C:\Program Files\Internet Explorer\iexplore.exe&quot; %1

</li> Click OK.</li> Close the Registry Editor.</li></ol>

The operating system starts Internet Explorer, and the attachment file opens correctly.

Keywords: kbwebpublishing kbprb kberrmsg kbinfo KB290751

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.