Microsoft KB Archive/318761

= PRB: Open Button in Dialog Disabled When You Browse or Redirect to .rtf or .csv Files =

Article ID: 318761

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Office Excel 2003
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Excel 2000 Standard Edition
 * Microsoft Office Word 2003
 * Microsoft Word 2002 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q318761



SYMPTOMS
When you browse to either a Rich Text Format (.rtf) file or to a Comma Separated Value (.csv) file that is located on a Web server, Internet Explorer may prompt you with a File Download dialog box to confirm whether you want to open the file or to save the file to your computer.

You are downloading the file:

Would you like to open the file or save it to your computer?

The Open button and the Always ask before opening this type of file check box of the dialog box may appear dimmed, which indicates that the options are unavailable.



CAUSE
The problem occurs if the client has version 6.0.2713.1500 (or later) of Shdocvw.dll installed. Version 6.0.2713.1500 of Shdocvw.dll is included in the Internet Explorer Cumulative Patch from Microsoft Security Bulletin MS02-005. When you browse to a file, Internet Explorer uses the file name extension to retrieve the following information about the file:
 * 1) The default value for the registry key HKEY_CLASSES_ROOT\[.extension] contains the ProgID for the server associated with the file type.
 * 2) The registry key HKEY_CLASSES_ROOT\[ProgID] contains a subkey for the CLSID.
 * 3) The registry key HKEY_CLASSES_ROOT\CLSID\[CLSID] contains a subkey for the ProgID.

If the ProgIDs in items 1 and 3 are not equal, Internet Explorer disables the option to open the file. Word has different ProgIDs for a .doc file (Word.Document) and an .rtf file (Word.RTF). Likewise, Excel has different ProgIDs for a .xls file (Excel.Sheet) and a .csv file (Excel.CSV). When you browse to either an .rtf file or a .csv file in Internet Explorer, the option to open the file is unavailable.



RESOLUTION
To resolve this problem, obtain the latest service pack for Internet Explorer 6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328548 How to Obtain the Latest Internet Explorer 6 Service Pack

To work around this issue, you can use either of the following methods:

Method 1
Change the .rtf file name extension to .doc, or change the .csv file name extension to .xls. If you are prompted to change the extension when you browse to a .doc or .csv file, the Open button is available.

- or -

Method 2
Click to clear the Confirm open after download check box for the .doc or .xls file type. To do this, follow these steps:
 * 1) Double-click My Computer.
 * 2) On the Tools menu, click Folder Options.
 * 3) Click the File Types tab.
 * 4) Under Registered File Types, click to select DOC Microsoft Word Document or XLS Microsoft Excel Worksheet, and then click Advanced.
 * 5) Click to clear the Confirm open after download check box, and then click OK.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer 6 Service Pack 1.



Steps to Reproduce the Behavior

 * 1) Start Microsoft Word. Type any text in the document that is created.
 * 2) On the File menu, click Save As, and then click Rich Text Format in the Save as type list.
 * 3) Save the document as test.rtf to a folder on a Web server.
 * 4) Start Internet Explorer.
 * 5) Browse to http:// / /test.rtf, where  /  is the name of the Web server and folder where you saved test.rtf. Note that you see a confirmation dialog box with an Open button that appears dimmed.

