The information in this article applies to:
SYMPTOMSWhen the UserDocument files are placed on a UNIX or NetScape Web server, Internet Explorer (IE) will fail to display the UserDocument correctly. IE will interpret the raw binary data of the .VBD as text and will display a series of random (garbage) characters, including boxes or symbols. CAUSE
This occurs because some Web servers often associate the incorrect content
type, or MIME type, with files whose extensions are unrecognized.
RESOLUTION
There are two possible ways to avoid this problem on Web servers that cause
this problem:
Method 1The Web server administrator can add a content type association manually for .VBD files so that Internet Explorer will correctly display these files. The exact steps to do this vary according to the Web server. In general, the association needs to exist for the file extension .VBD to the MIME content type "application/octet-stream."Method 2The actual extension for Structured Storage files is not very important. Embedded within the .VBD file is the unique identifier for the UserDocument that knows how to display and save the properties that are contained within the .VBD file. This identifier is retrieved and used regardless of the actual extension of the file. However, to avoid confusion and conflicts with other file extensions, it is recommended that an extension is chosen that is already associated with the content type "application/octet-stream" and is not associated with other content types. The extension .BIN generally works well.However, following this method and making this change often requires a few other changes as well. The .HTM file that is generated by the Application Setup Wizard must be changed. Locate the line that causes Internet Explorer to navigate to the .VBD file, and change the extension from .VBD to .BIN. Also, if the Active Document code uses a Hyperlink object to navigate to other .VBD files, these filename extensions will need to be renamed from .VBD to .BIN as well. STATUSThis behavior is by design. MORE INFORMATION"Active Document" is the term for what was once called an "ActiveX Document." When this article refers to a "UserDocument," this is taken to mean the Visual Basic 5.0 technology that allows Visual Basic forms to be hosted as Active Documents in Active Document containers such as Internet Explorer. Additional query words: kbdsi kbDSupport kbVBp kbVBp500 kbVBp600 kbActiveX kbInternet
Keywords : |
Last Reviewed: June 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |