Microsoft KB Archive/832115: Difference between revisions
(importing KB archive) |
m (Text replacement - "[[File:../gfx/" to "[[File:") |
||
Line 113: | Line 113: | ||
<ul> | <ul> | ||
<li>In Word 2003, click '''File''', and then click '''Open'''. In the '''File name''' box, type <span class="kbd userinput"> DocumentMap.xml</span>, and then click '''Open'''.</li> | <li>In Word 2003, click '''File''', and then click '''Open'''. In the '''File name''' box, type <span class="kbd userinput"> DocumentMap.xml</span>, and then click '''Open'''.</li> | ||
<li>In Word 2007, click the '''Microsoft Office Button'''[[File: | <li>In Word 2007, click the '''Microsoft Office Button'''[[File:office2007filebutton.jpg|[GRAPHIC: Microsoft Office Button ]]], and then click '''Open'''. In the '''File name''' box, type <span class="kbd userinput"> DocumentMap.xml</span>, and then click '''Open'''.</li></ul> | ||
'''Note''' If you receive the following message, click '''No''': | '''Note''' If you receive the following message, click '''No''': |
Revision as of 08:28, 20 July 2020
Article ID: 832115
Article Last Modified on 4/4/2007
APPLIES TO
- Microsoft Office Word 2007
- Microsoft Office Word 2003
SYMPTOMS
When you try to attach an XML expansion pack to a Microsoft Office Word 2003 document or to a Microsoft Office Word 2007 document, you may receive the following error message if the Document Map view is turned on:
STATUS
Microsoft has confirmed that this is a bug in Word 2003 and in Word 2007.
RESOLUTION
Attach the XML expansion pack to the Word 2003 document or to the Word 2007 document before you turn on the Document Map view.
MORE INFORMATION
Steps to reproduce the problem
Notes The following steps use information and files that are installed with the Microsoft Office 2003 Smart Document software development kit (SDK). For additional information about how to download and how to install the Office 2003 Smart Document SDK, visit the following Microsoft Web site:
- Start Notepad.
Add the following code to the Notepad file.
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <?mso-solutionextension URI="SimpleSample" manifestPath="manifest.xml"?> <example xmlns="SimpleSample"> <textbox> TextBox </textbox> <commandbutton /> <help /> <radiobutton /> <checkbox /> <listbox> ListBox </listbox> <image /> <documentfragment /> <activex /> <hyperlink /> </example>
- Save the Notepad file as DocumentMap.xml.
Put the DocumentMap.xml file in your folder that contains the SimpleSampleVB6 files.
By default, the path of this folder is C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft Office 2003 Smart Document SDK\Samples\SimpleSampleVB6. - Close Notepad.
- Locate the DisableManifestSecurityCheck.reg file in the SimpleSampleVB6 folder. Double-click DisableManifestSecurityCheck.reg to add the registry key that disables the manifest security check.
- Start Word.
- Use the appropriate method:
- In Word 2003, click File, and then click Open. In the File name box, type DocumentMap.xml, and then click Open.
- In Word 2007, click the Microsoft Office Button, and then click Open. In the File name box, type DocumentMap.xml, and then click Open.
Note If you receive the following message, click No:
- Turn on the Document Map view. To do this, use the appropriate method:
- In Word 2003, click the View menu, and then click Document Map.
- In Word 2007, click the View tab, and then click to select the Document Map check box.
- In the XML Document pane, click the Simple Sample Document Sample - VB6 link.
You may receive the error message that is mentioned in the "Symptoms" section.
Additional query words: WD2003 Word2003 WD2007 Word2007
Keywords: kbofficesmartdoc kbbug KB832115